Quote from: Ambush at Jun 17, 2008, 01:35 AM
Hello Dr. Scotty Delicious,
It’s great to see that someone else has stepped up to the plate to have an updated plugin of HTML Purifier for Modx. There is a plugin, but it’s somewhat untested as I don’t use Modx, and it has problems with HTML Purifier 3.1 (I’ve got an updated version pending for that).
Would you like me to link to your plugin for Jot on the HTML Purifier home page?
Sure, but it would be good to specifically note that it is not a system wide plugin, but merely a modification of the Jot snippet with a class for purifying the HTML that is passed in by Jot’s $comment[’content’] variable.
I think what I may do is make another modification of the jot.class.inc.php file to invoke the OnBeforeDocFormSave system event so that a plugin like yours will work with comments. I might also try to put together a plugin that can purify any form submitted on the front end. That might be better for the Jot upgrade path and also a bit more universal so it can be used with the eForm snippet (or any form in the front end).
Dr. Scotty Delicious, DFPA.