Wednesday, June 30, 2010

Re: cleaning html with bleach

On Jun 30, 12:00 am, Sam Lai <> wrote:
> Nice find - I did pretty much the same thing, but using lxml.Cleaner.
> This seems more configurable; I'm probably going to change mine over
> to this instead.

I needed to allow public rich text input on so had to
sanitize input carefully, and used this approach:

(part of which involves tinymce, but the back-end portion is


You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment