Edgewall Software

Changes between Version 5 and Version 6 of MarkupStream


Ignore:
Timestamp:
Aug 29, 2006, 12:12:42 PM (18 years ago)
Author:
cboos
Comment:

asked whether it will be the right shift or the or operator, in the end

Legend:

Unmodified
Added
Removed
Modified
  • MarkupStream

    v5 v6  
    7575
    7676 ''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)''
    7780
    7881One 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.