[issue23438] HTMLParser doesn't know how to deal with 'ampersand'

2015-02-10 Thread Amaury Forgeot d'Arc
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.forgeotdar

[issue23438] HTMLParser doesn't know how to deal with 'ampersand'

2015-02-10 Thread pyed
Changes by pyed : -- title: HTMLParser don't know how to deal with 'ampersand' -> HTMLParser doesn't know how to deal with 'ampersand' ___ Python tracker ___ ___