[TYPO3-core] RFC: #11503: HTML5 doctype implementation

Martin Kutschker masi-no at spam-typo3.org
Mon Oct 12 15:56:36 CEST 2009


Peter Klein schrieb:
> Changing the doktype is not enough.
> 
> Tags like <br /> should be rendered as <br> etc. 

I understood it that HTML5 can be used as SGML application (<br>) and as XML application (<br/>). So
the DTD is not enough to distinguish both modes via the DTD. You would have to check the MIME type
(text/html vs application/xml+xhtml).

Sidenote: TYPO3 currently doesn't support valid HTML anyway. All single tags are rendered with a /
(like <br/> and <img/>).

Masi


More information about the TYPO3-team-core mailing list