How do I allow <style>
tags in html purifier http://htmlpurifier.org/?
views:
81answers:
2
+1
A:
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.
Edward Z. Yang
2010-03-31 15:29:08
+1
A:
HTML <style>
tags should appear in the head of a document. HTML Purifier only works on the body of the document.
TRiG
2010-05-19 17:58:50