#62134xhtml_cleaning is ignored on HTML5 doctype and produces invalid xml/xhtml
Description
Steps to reproduce:
doctype = xhtml_strict
xhtml_cleaning = all
output:
<link rel="stylesheet" type="text/css" href="/typo3temp/stylesheet_0489429c68.css?1412773824" media="all" />
this works as expected and produces well formed xml which can be parsed by external applications
but if doctype is set to html5 this wont work
doctype = html5
xhtml_cleaning = all
output:
<link rel="stylesheet" type="text/css" href="/typo3temp/stylesheet_0489429c68.css?1412773824" media="all">
—-
solution:
1 ) do not ignore xhtml_cleaning when html5 doctype is set
or
2) introduce another doctype “xhtml5”
imho the better solution is #1 since you can specify your own doctype by not using a predefined keyword – if you do so, xhtml_cleaning will be ignored too
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.