I´m having large text fields where an editor can post xhtml-code.  
right now, I´m using rich text editing for that area (mostly fck, but  
also tinymce).
I´m looking for suggestions on how to cleanup the xhtml-code:
- delete empty paragraphs
- no text outside paragraphs/headlines/lists ...
- headline must not start and end with empty spaces
- and so on ...

I could use something like cleanup_callback with tinymce, but I´ve  
also come across BeautifulSoup.
Just wanted to know if anyone has experience with that issue and may  
point out some pros/cons (one thing that scares me is that  
BeautifulSoup is around 70k).

thanks,
patrick
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to