Can I configure HTML Purifier to allow <style> tags?
How do I allow <style>
tags in HTML purif开发者_如何学JAVAier?
Install CSSTidy and hook it up to Filter.ExtractStyleBlocks http://htmlpurifier.org/live/configdoc/plain.html#Filter.ExtractStyleBlocks
You'll need a story on the calling code to get the style block contents to somewhere appropriate.
精彩评论