[TYPO3-core] RFC: #10950: XML prologue always after doctype declaration in BE template building

Patrick Broens patrick at netcreators.com
Wed Apr 22 11:19:49 CEST 2009


Hi,

this is a SVN patch request.

Type: Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=10950

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 instead of in front, 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.

Cheers,

Patrick
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 20090422_RFC_10950.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090422/8ad9fb80/attachment.txt 


More information about the TYPO3-team-core mailing list