HTML sanitization code should allow customization
Bug #117785 reported by
Aaron Swartz
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
web.py |
New
|
Undecided
|
Unassigned |
Bug Description
The HTML sanitization code from bug 117784 should be improved to allow:
1. customizable .acceptable_
.acceptable_
2. per-element attribute blocking
3. distinguishing between whether just an element should be removed or its entire subtree
[This bug reported by Chris Palmer.]
To post a comment you must log in.
How about http:// code.activestat e.com/recipes/ 496942/ ?