[issue11113] html.entities mapping dicts need updating?
Ezio Melotti
report at bugs.python.org
Thu Jul 21 07:22:24 CEST 2011
Ezio Melotti <ezio.melotti at gmail.com> added the comment:
Having them in different mappings would be good, but I expect that for most real world application a single mappings that includes them all is the way to go. If I'm parsing a supposedly HTML page that contains an ' I'd rather have it converted even if it's not an HTML entity.
If the set of entities supported by HTML5 is a superset of the HTML4 and XHTML ones, than we might just use that (I haven't checked though).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11113>
_______________________________________
More information about the Python-bugs-list
mailing list