Skip to content

Commit

Permalink
fix #6
Browse files Browse the repository at this point in the history
  • Loading branch information
ikirudennis committed May 29, 2014
1 parent 00a85fd commit 83c81db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion textile/tools/sanitizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def sanitize(string):
p = html5lib.HTMLParser(tokenizer=sanitizer.HTMLSanitizer)
tree = p.parseFragment(string)

walker = treewalkers.getTreeWalker("simpletree")
walker = treewalkers.getTreeWalker("etree")
stream = walker(tree)

s = serializer.htmlserializer.HTMLSerializer(omit_optional_tags=False,
Expand Down

0 comments on commit 83c81db

Please sign in to comment.