Iain,

>- try to clean it up on entry with beautiful soup
>- try to reject bad html on entry if beautiful soup can't fix it
>- not choke if the above two fail
>  
>
One other option you have is to take input in plaintext formatting 
language (Wiki style) - Textile and MarkDown are two possibilities. I 
have been using Textile in a live app, and while it's not perfect, it 
beats taking HTML.

Paul

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

Reply via email to