Bug #20334

XML prologue always after doctype declaration in BE template building

Added by Patrick Broens over 6 years ago. Updated almost 5 years ago.

Status:Closed Start date:2009-04-22
Priority:Should have Due date:
Assigned To:Patrick Broens % Done:

0%

Category:- Spent time: -
Target version:-
TYPO3 Version:4.3 Is Regression:
PHP Version:5.2 Sprint Focus:
Complexity:

Description

Branches: trunk

Problem:
typo3/template.php is responsible for most of the BE Template building.
Internet Explorer < 7 needs the XML prologue behind the Doctype declaration, or the XHTML handling will be done in quirks mode instead of strict compliance mode.

There is no check on the browser and its version and the XML prologue is always put behind the Doctype declaration, which makes most of the backend not valid XHTML.

Solution:
Add a browser/version check where to put the XML prologue and put it accordingly.

(issue imported from #M10950)

20090422_RFC_10950.diff Magnifier (3.9 kB) Administrator Admin, 2009-04-22 11:03


Related issues

related to Core - Bug #21511: Lots of HTML, JS and/or CSS errors force IE8 to switch to... Closed 2009-11-09
duplicated by Core - Bug #16033: Login-Page (typo3/index.php): removing whitespace precedi... Resolved 2006-04-12

History

#1 Updated by Patrick Broens over 6 years ago

committed to trunk, rev 5365.

Also available in: Atom PDF