Is There A Way To Stop HTMLPurifier/CSStidy From Forcing Input CSS Into All Lowercase?
Using PHP/Codeigniter/HTMLPurifier/CSStidy like so: require_once 'extra/htmlpurifier-4_4_0/library/HTMLPurifier.auto.php'; require_once 'extra/csstidy-1_3/class.csstidy.php'; $i
Solution 1:
Actually, this is an HTML Purifier bug, not a CSS Tidy bug. I'm working on a fix.
Please apply this patch: http://repo.or.cz/w/htmlpurifier.git/commit/f38fca32a9bad0952df221f8664ee2ab13978504 (only the patches to file in library/ are really necessary)
Solution 2:
You need to set the lowercase_s CSSTidy configuration option to false. Otherwise, it will lowercase all of your selectors for inclusion in XHTML.
Post a Comment for "Is There A Way To Stop HTMLPurifier/CSStidy From Forcing Input CSS Into All Lowercase?"