Project

General

Profile

Actions

Bug #62134

closed

xhtml_cleaning is ignored on HTML5 doctype and produces invalid xml/xhtml

Added by Sigfried Arnold over 9 years ago. Updated almost 9 years ago.

Status:
Rejected
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-10-09
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:

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

Actions

Also available in: Atom PDF