Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.2.0, 4.3.0, extension/ezwebin 1.2
-
None
-
Operating System: any
PHP Version: (please be specific, like '4.4.3' or '5.1.5') any
Database and version: any
Browser (and version): IE7
Description
the appendDebugNodes function inserts markup
<!-- START: including template: $path ($uri) -->
into the generated HTML code.
It should not do it for the pagelayout.tpl pages, because the comment gets included before the regular HTML doctype definition.
IE7.0.5730.11 is to stupid to understand HTML comments before the doctype line, and will missinterpret the doctype therefore.
in other words:
<!-- START: including template: design/ezwebin/override/templates/fre_pagelayout.tpl (design:pagelayout.tpl) -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
is not valid XHTML to IE7, and the doctype will get wrong.
Steps to reproduce
any page rendred in IE7 when 'include used templates' is turned on.
I think preventing the markup in the case of a pagelayout template would do the trick.
Attachments
Issue Links
- is duplicated by
-
EZP-11668 IE7 doesn't like Template debug
- Closed