Fixing Errant HTML Content
Jamroom Developers
The jrCore_strip_html() function deals a little with html purifier and there is a listener in there for 'html_purifier' to allow other modules to adjust the settings of html purifier without adjusting core code. The purifier is run when HTML that would be stripped is combined with the quota based settings found at:
ACP -> CORE -> SYSTEM CORE -> QUOTA CONFIG -> Allowed HTML Tags.
Other functions that may be useful if you're building something:
* jrCore_clean_html() may be what you need to close out any open dom tags.
it calls: jrCore_balance_html_tags() and jrCore_closetags() which may be of use in setting something up.