Changes between Version 5 and Version 6 of MarkupStream
- Timestamp:
- Aug 29, 2006, 12:12:42 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MarkupStream
v5 v6 75 75 76 76 ''Note: this is only available in the current development version (0.3)'' 77 78 '''Q: will it be `>>`, or `|` as in r254?''' 79 ''(off-topic: Akismet once again rejected that change, had to log in... sigh)'' 77 80 78 81 One example of a filter included with Markup is the `HTMLSanitizer` in `markup.filters`. It processes a stream of HTML markup, and strips out any potentially dangerous constructs, such as Javascript event handlers. `HTMLSanitizer` is not a function, but rather a class that implements `__call__`, which means instances of the class are callable.