lavr / python-emails

Modern python library for emails
http://python-emails.readthedocs.org
Other
400 stars 54 forks source link

Fix HTML5 links garbled by lxml #75

Open positiveviking opened 7 years ago

positiveviking commented 7 years ago

Fix following issue

>>> etree.tostring(etree.fromstring('<a><table></table></a>', parser=etree.HTMLParser()))
'<html><body><a/><table/></body></html>'
coveralls commented 7 years ago

Coverage Status

Coverage decreased (-0.09%) to 92.111% when pulling 351630c653f73680c86b5e7865ebdb64538dc714 on positiveviking:master into 9a7d35ab0ec8e206b8400f5778e5794176254be4 on lavr:master.

positiveviking commented 7 years ago

Test errors caused by Python 2.6:

...
File "/home/travis/virtualenv/python2.6.9/lib/python2.6/site-packages/coverage/misc.py", line 287, in <module>
    class StopEverything(unittest.SkipTest):
AttributeError: 'module' object has no attribute 'SkipTest'