MDL-14894 html purifier updated

This commit is contained in:
skodak
2008-05-19 06:23:20 +00:00
parent 2afa9de179
commit 014734bcb0
27 changed files with 355 additions and 112 deletions
@@ -31,6 +31,9 @@ class HTMLPurifier_AttrDef_CSS_Background extends HTMLPurifier_AttrDef
$string = $this->parseCDATA($string);
if ($string === '') return false;
// munge rgb() decl if necessary
$string = $this->mungeRgb($string);
// assumes URI doesn't have spaces in it
$bits = explode(' ', strtolower($string)); // bits to process