On Wednesday 07 October 2009 07:57:18 Adrian von Bidder wrote: > On Tuesday 06 October 2009 07.14:17 Adrian von Bidder wrote: > > I want to allow HTML content. I'm sure there already is code for > > allowing restricted HTML subset - pointers very welcome. > > Seeing as there was no answer... > > Comments very welcome:
Use lxml + DTDs instead. That allows to define the content-model much more cleaner. We do that, plus BeautifulSoup in front to clean malformed HTML up. Diez --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send 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/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

