Jeff Anderson wrote:
> And you just need minimal functionality,
> You could probable write up a small hack to do it with some regular 
> expressions. You can find things that strip html, and then you could to 
> the simple markup fairly easily after that. It shouldn't take too long 
> to write something like that.

i recommend against this.  too easy to miss corner-cases, allowing 
inputs like "<<b>script>alert('owned');" to inject foreign html.  better 
to use a proper html parser.


-- 
  looking to buy or sell anything?

     try: http://allurstuff.com

  it's a classified ads service that
  shows on a map where the seller is
  (think craigslist + google maps)

  plus it's 100% free :)


--~--~---------~--~----~------------~-------~--~----~
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