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

Ernesto Baschny [cron IT] ernst at cron-it.de
Tue Oct 13 08:52:03 CEST 2009


David Bruchmann schrieb:

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

> Hi Martin,
> 
> perhaps you write about something what isn't mentioned here but you're
> free NOT to use config.xhtml_cleaning. So single tags aren't closed bei
> slash. I expirienced that recently concerning an own extension.

I don't think xhtml_cleaning has any impact on "/>" ended tags that were
generated by TYPO3 core already that way. That function just adds "/>"
on single-tags that weren't finished before.

So regardless of this setting, the <meta /> (header), the generated <img
/> (IMAGE), the output from css_styled_content etc all do have single
tags with an ending "/>", and not setting (or absense of setting) can
influence that AFAIK.

Cheers,
Ernesto


More information about the TYPO3-team-core mailing list