Amaury Forgeot d'Arc added the comment:

& is an entity reference.
Either pass "convert_charrefs=True" to the constructor, or implement a method 
"def handle_entityref(self, data)" to receive them as events.

https://docs.python.org/3.4/library/html.parser.html

----------
nosy: +amaury.forgeotdarc
resolution:  -> not a bug
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23438>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to