[New-bugs-announce] [issue18946] HTMLParser should ignore errors when parsing text in <script> tags
James Lu
report at bugs.python.org
Fri Sep 6 18:10:43 CEST 2013
New submission from James Lu:
It will show invalid html inside of script tags, for example, at the learners dictionary:
function output_creative (id)
{ document.write
("<div id='" + id + "'>" +
"<scr" + "ipt type='text/javascript'>\r\n" +
"googletag.cmd.push(function() { googletag.display('" + id + "'); });\r\n" +
"</sc" + "ript>" + invalid end tag
"</div>");
};
it thinks </sc" + "ript"> is an actual end tag.
----------
messages: 197077
nosy: James.Lu
priority: normal
severity: normal
status: open
title: HTMLParser should ignore errors when parsing text in <script> tags
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18946>
_______________________________________
More information about the New-bugs-announce
mailing list