Hello,

Installed the module, and enabled the HTML purifier filter for the default "filtered" and "full html" filters. I left all the settings as per the default, but following text is not purified for me:

<p>The mean significance is p<0.05, so this is good.</p>

On the demo site this correctly gets purified to

<p>The mean significance is p&lt;0.05, so this is good.</p>

(The less than "<" sign!)

Any tips?

Comments

heddn’s picture

I've ran 4.4.0 using the D6 & D7 module on their respective platforms and can confirm this is an issue. On D7, I ran it through xdebug and noted that when we leave hook_filter_FILTER_process(), the text is appropriately filtered. I also ran it by Edward, who maintains the upstream library. So, I'm thinking this is an issue with another filter (core maybe?) that gets run. I haven't put my finger on it yet, but maybe someone else can chime in and give us some pointers.

heddn’s picture

Marking as blocking stable release.

heddn’s picture

Status: Active » Postponed (maintainer needs more info)
Issue tags: -D7 stable release blocker

OK, had more time to debug this today. I essentially disabled every module, except core required ones, library and htmlpurifier. Somewhere in the disabling of 40+ modules, things started to work again. Please try something similar (and maybe be a little more methodical). I'm curious which module "breaks" htmlpurifier.

heddn’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)
heddn’s picture

Issue summary: View changes

jui iugiugiu