Issue Bug Closed

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

taywa gmbh 10/02/15, 11:34 updated 10/21/17, 17:42

Description

config.doctype = html5 erzeugt <html lang="de"></html>

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></html>

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.

Reviews 1