James Bennett wrote:
> On 3/7/07, Bram - Smartelectronix <[EMAIL PROTECTED]> wrote:
>> this is pretty much exactly what i had been looking for lately...
> 
> It's also worth pointing out that Django includes a "striptags"
> template filter which strips all HTML tags, and that python-markdown
> has a "safe mode" which strips raw HTML before doing Markdown
> processing, so that you *only* get Markdown-generated HTML out of the
> result. There are several patches on ticket 2910 [1] implementing
> support for this in Django's markdown template filter.


but this does a lot more:
it fixes broken tags, lets the user use "some" html tags, REMOVES 
SHOUTING, filters out possible javascript injections, splits up large 
words into smaller ones (aaaaaaaaaaaaaaaaaaaa => aaaaaaaaa aaaaaaaa) etc 
etc.

All of these are very essential when making sites monkey-proof!

  - bram

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to