#15069If doctype is not XHTML, closed metatags prevent w3c validation
Description
If the doctype is not XHTML, the pages created by Typo3 won’t validate, because the end tags of the metatags are always closed: />
This is how it should be with XHTML but not with HTML 4 or HTML 4.1.
There metatags should have the form
With the backslash at the endtag tha validator complains:
character data is not allowed here. /
It is easily to fix it. Substitute all hardcoded endtags in pagegen class with a variable $endtag and depending on the chosen doctype it can be ‘/>’ or ‘>’.
(issue imported from #M1626)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.