Comment #4 on issue 62 by chris.vigelius: Sanitizer does not allow
stripping of tags
http://code.google.com/p/html5lib/issues/detail?id=62
To Batiste (and anyone else this may concern): It seems you can achieve this
behaviour by overriding HtmlSanitizer - see attached example.
Note this has NOT been tested for possible XSS exploits or similar, so it
should not
be used for untrusted content. But you can use it to sanitize output from
WYSIWYG
editors, for example.
Attachments:
override_sanitizer.py 1.7 KB
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups
"html5lib-discuss" group.
To post to this group, send an email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/html5lib-discuss?hl=en-GB.