Project

General

Profile

Actions

Bug #70300

closed

config.doctype = html5 outputs <html lang="de" xmlns="http://www.w3.org/1999/xhtml">

Added by taywa gmbh over 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2015-10-02
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
doctype xmlns
Complexity:
Is Regression:
No
Sprint Focus:

Description

config.doctype = html5 erzeugt <html lang="de" xmlns="http://www.w3.org/1999/xhtml&quot;>

Das macht keine Sinn, da html5 ja kein xml ist. Es kann überschrieben werden mit htmlTag_setParams = none. Dann wird aber die Sprache über "config.htmlTag_langKey" nicht mehr berücksichtigt und nur <html> ausgegeben

Hier auch noch eine Beschreibung des Verhaltens: (Nicht von mir)

http://blog.matthaa.de/typo3-html5-doctype-ohne-xmlns/

Sinnvoll wäre es, wenn config.doctype = html5 xmlns="..." nicht auszugeben, jedoch die angaben von config.htmlTag_langKey zu berücksichtigen.

Actions

Also available in: Atom PDF