Welcome! » Log In » Create A New Profile

is there a way to stop HTMLPurifier/CSStidy from forcing input CSS into all lowercase?

Posted by purushagovinda 

I don't want to offend by duping this question:

http://stackoverflow.com/questions/10843600/

..but I want to know if I am even on the right track. Is it even possible to set CSStidy config options though HTMLpurifier, at runtime? How? Or else, where in the HTMLpurifier source might one hack/override in case it is HTMLpurifier that is causing input CSS to be forced into all lowercase? I can't find either, so far. I would really appreciate some guidance here.

Thanks! -Govinda

Answered at Stack Overflow.

Author:
Your Email:

Subject:

HTML input is enabled. Make sure you escape all HTML and angled brackets with < and >.

Auto-paragraphing is enabled. Double newlines will be converted to paragraphs; for single newlines, use the pre tag.

Allowed tags: a, abbr, acronym, b, blockquote, caption, cite, code, dd, del, dfn, div, dl, dt, em, i, ins, kbd, li, ol, p, pre, s, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, var.

For inputting literal code such as HTML and PHP for display, use CDATA tags to auto-escape your angled brackets, and pre to preserve newlines:

<pre><![CDATA[
Place code here
]]></pre>

Power users, you can hide this notice with:

.htmlpurifier-help {display:none;}

Message: