GetSimple Support Forum

Full Version: Does GetSimple have a built in HTML purifier?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm looking at adding user input in my theme plugin to allow html code as admin cp input for parts of my template...
Doing so I'll want to use a html purifier to clean the input incase someone tries to input some uber html garbage in their site (and my theme)...
I was looking at this php library: http://htmlpurifier.org/
But does GetSimple already have a built in HTML purifier I can hook into / use?
thank! Smile
This could easily be setup as a plugin and filters.
you can define which HTML elements should be deleted by CKEDITOR when the user enters this input in the editor area

but this is kind of "client-wise" sanitation ;=)
No I am asking for input on this in github right now actually
GetSimple has the ability to perform a simple "Undo" on just about every action. Combined with our intuitive UI makes for a great web editing user experience.
@rezfil yea but I need a way to sanitize html code before it's saved. Specifically during plugin settings user input, a check before saving.
AH! Thank you shawn,
I'll check this out http://www.bioinformatics.org/phplabware.../index.php on GPLv2+