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 <[email protected]>
<http://bugs.python.org/issue18946>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com