ImpressCMS fix for HTMLpurifier interaction issue


If you're using the module version of Formulize with a recent version of ImpressCMS, some things may not be working as expected. You might have noticed some text like this in your database:

<!-- filtered with htmlpurifier -->

To make a long story short, you can prevent this from happening if you comment line 85 in the libraries/icms/core/HTMLFilter.php:

//$html .= $fcomment;

And line 477 in the libraries/icms/core/DataFilter.php:

//$html .= '<!-- input filtered -->';

This breaks some intended functionality in recent versions of ImpressCMS. However, at the moment it's the only way to avoid the problems caused by having that text inserted into the database at the wrong times. We're considering other workarounds.