I really don't have enough experience with Tidy to compare the two. From what I have read though, Tidy doesn't do that much actual filtering as it does markup correction. HTMLPurifier does have an option in it to have it run with Tidy to clean up the source code formatting though. Jamie Holly http://www.intoxination.net http://www.hollyit.net Skype:intoxination Phone: 1-513-252-2919 Ivan Sergio Borgonovo wrote:
On Tue, 05 Feb 2008 12:59:23 -0500 Jamie Holly <hovercrafter@earthlink.net> wrote:
I was pretty much in the same position as you with Firedoglake and Crooks & Liars, even though they use Wordpress (despite my efforts to get them to move to Drupal LOL), TinyMCE is still used for the post editor and they both have a lot of contributors that love to directly paste from Word into TinyMCE. What I ended up doing was using HTMLPurifier as an extra level of filtering on form submits.
How would you compare HTMLPurifier with tidy?