I hereby claim:
- I am aaloy on github.
- I am aaloy (https://keybase.io/aaloy) on keybase.
- I have a public key whose fingerprint is B17D C13C FD38 B573 1DE0 38C6 5FBF 1B0F 35EE 4DFF
To claim this, I am signing this object:
| ### Keybase proof | |
| I hereby claim: | |
| * I am aaloy on github. | |
| * I am aaloy (https://keybase.io/aaloy) on keybase. | |
| * I have a public key whose fingerprint is 8A84 5EF7 0E0E 0A59 7864 3756 EEE3 9B13 2E72 4C6C | |
| To claim this, I am signing this object: |
I hereby claim:
To claim this, I am signing this object:
| import cssutils | |
| from xml.sax import saxutils | |
| from lxml.html import tostring, fromstring, clean | |
| from lxml import etree | |
| import logging | |
| class Cleaner(clean.Cleaner): | |
| def clean_html(self, html): | |
| if not isinstance(html, unicode): |