htmlpurifiercsstidy

Html Purifier | CSS Tidy | Browser specific properties and hacks are trimmed. How do I allow those?


filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e7e7e7');
background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#e7e7e7));

These kinds of css properties are removed when filtering input. I'm not sure if this is due to CSSTidy or HTML Purifier. I've tried to look in both of the manuals without finding any clues.


Solution

  • I just went through this. In case it is confusing, Edward is referring to this:

    http://htmlpurifier.org/phorum/read.php?2,6154,6154#msg-6154