On Sat, 2007-25-08 at 12:03 +0100, Paul Johnston wrote:
> 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.

How do you find using Textile as compared to using something like
TinyMCE? I'm trying to find one optimal solution that will do for most
of my custom cms cases to make sure users can enter formatted text some
of the time but absolutely can't break their site with malformed xhtml.
I would prefer to err on the side of slightly inconvenient and
unbreakable.

Still curious to hear others opinions too!

Thanks
Iain



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