DOCTYPEs that are not at the start of the document confuse Chameleon

Bug #701643 reported by Gary Poster
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Chamelon ZPT
New
Undecided
Unassigned
Launchpad itself
Triaged
Low
Unassigned

Bug Description

An example is {{{<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">}}} that is in a metal section so it can be replaced--that's where I encountered it.

The work-around: {{{<tal:doctype tal:replace="structure string:&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;" />}}}

Tags: chameleon
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.