Bug #20334
XML prologue always after doctype declaration in BE template building
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)
Related issues
History
#1 Updated by Patrick Broens over 6 years ago
committed to trunk, rev 5365.