[Bug 16807] Consider supporting ending comments with --!> in prescan. (The dashes can't overlap with <!--, though.)

https://www.w3.org/Bugs/Public/show_bug.cgi?id=16807

--- Comment #2 from Simon Pieters <simonp@opera.com> 2012-04-20 19:30:05 UTC ---
It would make the prescan find charset declarations after <!-- --!> comments,
which prevents scripts from running twice if the parser decides to change the
encoding...

$ grep -aEihzZB2
"<\!-[-]([^-]|-[^-]|-[-][^>])*-[-]\!>.+text/html[[:space:]]*;[[:space:]]*charset[[:space:]]*="
web200904 > bang-comment-then-encoding.txt

Seems only two pages in this data set match, but they have an encoding decl
before the comment as well.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Friday, 20 April 2012 19:30:09 UTC