[Bug 1592628] Re: html entities are incorrectly preprocessed

Kees Cook kees at ubuntu.com
Wed Jun 15 04:09:13 UTC 2016


Nevermind, it's not html5lib, it's libpython3.5-stdlib, and the issue is
the new undocumented "convert_charrefs" argument to _init__.

** Package changed: html5lib (Ubuntu) => python3.5 (Ubuntu)

** Summary changed:

- html entities are incorrectly preprocessed
+ HTMLParser html entities preprocessing is undocumented

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python3.5 in Ubuntu.
https://bugs.launchpad.net/bugs/1592628

Title:
  HTMLParser html entities preprocessing is undocumented

Status in python3.5 package in Ubuntu:
  New

Bug description:
  The attached script does not emit HTML entities on Xenial, but works
  correctly on Trusty. I don't see any difference in the html2lib
  package, so I assume something must have changed in Python 3.

  Trusty (correct):

  $ ./test.py
  Start tag: body
  Named ent: uuml
  End tag  : body

  Xenial (incorrect):

  $ ./test.py 
  Start tag: body
  Data     : ü
  End tag  : body

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.5/+bug/1592628/+subscriptions



More information about the foundations-bugs mailing list