i use beautifulsoup [http://www.crummy.com/software/BeautifulSoup/]. run it on your input, iterate through all tags, calling extract if they're not in your allowed set. then print it back out as a string.
derek Rob Hudson wrote: > Hi, > > I'm looking for something along the lines of Textile or Markdown, but > with very minimal features. Does anyone know of other projects that > might fit these requirements? > > * Strip all HTML > * Only allow for simple markup (bold, italics, headers, lists, URLs or > auto-linking URLs) > * Do not allow things like images, tables, classes or styles > > Thanks, > Rob > > > -- 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 -~----------~----~----~----~------~----~------~--~---