Skip to content

Commit a2917e9

Browse files
committed
Fix html5lib#72: rewrite the sanitizer to be a treewalker filter only.
As we no longer need the sanitizer to be shared between a filter and a tokenizer, move the entire sanitizer to the filter module.
1 parent 4aa79f1 commit a2917e9

File tree

5 files changed

+934
-390
lines changed

5 files changed

+934
-390
lines changed

CHANGES.rst

+4
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ Released on XXX
4040
and the new default), and "spec" (the old False value, and the old
4141
default).**
4242

43+
* **Fix #72 by rewriting the sanitizer to apply only to treewalkers
44+
(instead of the tokenizer); as such, this will require amending all
45+
callers of it to use it via the treewalker API.**
46+
4347

4448
0.9999999/1.0b8
4549
~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)