]> granicus.if.org Git - python/commit
In CDATA mode, make sure entity-reference syntax is not interpreted;
authorFred Drake <fdrake@acm.org>
Mon, 16 Jul 2001 18:30:35 +0000 (18:30 +0000)
committerFred Drake <fdrake@acm.org>
Mon, 16 Jul 2001 18:30:35 +0000 (18:30 +0000)
commitfb38c76e0f15e15d08e4635a24719cc120809191
tree84f02d0e0bf37352e792425f82d6aed4b2c614ca
parente16c7aee4bc2a8851b9a9bae60a00c2544722f67
In CDATA mode, make sure entity-reference syntax is not interpreted;
entity references are not allowed in that mode.

Do a better job of scanning <!DOCTYPE ...> declarations; based on the
code in HTMLParser.py.
Lib/sgmllib.py