Hi, I'm using the following config so that XHTML 1.0 Strict content is output. $config = HTMLPurifier_Config::createDefault(); $config->set('HTML.Doctype', 'XHTML 1.0 Strict'); $config->set('HTML.Trusted', true); $config->set('Attr.EnableID', true); $purifier = new HTMLPurifier($config); $output = $purifier->purify($text); Is it me or HTML Purifier does noby hmfireball - Support
No, I'm using the standard 4.2.0 version. What I would like is just to add label.for as an allowed attribute to my current config.by hmfireball - Support
Hi, I'm using the following config so that XHTML 1.0 Strict content is output. $config = HTMLPurifier_Config::createDefault(); $config->set('HTML.Doctype', 'XHTML 1.0 Strict'); $config->set('HTML.Trusted', true); $config->set('Attr.EnableID', true); $purifier = new HTMLPurifier($config); $output = $purifier->purify($text); It works well except for one thinby hmfireball - Support
Hi. First of all thank you and congratulations for this great software. I am using HTML Purifier only to ensure that output markup is XHTML 1.0 Strict compliant. So my config is: $config->set('HTML.Doctype', 'XHTML 1.0 Strict'); $config->set('HTML.Trusted', true); $config->set('Attr.EnableID', true); AFAIK, HTML Purifier should then be supposed not to perform any security filtby hmfireball - Support
Hi, Actually I'm using HTML Purifier with Drupal. Something must have been cached somewhere because now it works and I just don't understand why now :-(by hmfireball - Support
Hi, I use HTML Purifier with FCKeditor. When FCKeditor generates this: <script type="text/javascript"> /*<!="true"; params["menu"]="true"; params["loop"]="true"; params["allowfullscreen"]="false"; swfobject.embedSWF("http://mysite.com/movie.swf", "flash200913174937", 100, 100, "7.0.0", false, flashvars, params, attributes); /*(here is the CDATA closure)*/ </script> HTML purifby hmfireball - Support