diff options
Diffstat (limited to 'crocoite/html.py')
-rw-r--r-- | crocoite/html.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/crocoite/html.py b/crocoite/html.py index f891101..c929a10 100644 --- a/crocoite/html.py +++ b/crocoite/html.py @@ -105,7 +105,6 @@ eventAttributes = {'onabort', from html5lib.treewalkers.base import TreeWalker from html5lib.filters.base import Filter -from html5lib.serializer import HTMLSerializer from html5lib import constants class ChromeTreeWalker (TreeWalker): @@ -195,7 +194,6 @@ class StripAttributeFilter (Filter): self.attributes = set (map (str.lower, attributes)) def __iter__(self): - default_namespace = constants.namespaces["html"] for token in Filter.__iter__(self): data = token.get ('data') if data and token['type'] in {'StartTag', 'EmptyTag'}: |