From f95c766102a482279a7856336de35109826a2e13 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 31 Dec 2011 11:39:12 +0400 Subject: sanitize: fix img attributes --- include/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/functions.php b/include/functions.php index fa16bf8bf..8894f8162 100644 --- a/include/functions.php +++ b/include/functions.php @@ -2562,7 +2562,7 @@ $config = HTMLPurifier_Config::createDefault(); - $allowed = "p,a[href],i,em,b,strong,code,pre,blockquote,br,img[src|alt|title,align,hspace],ul,ol,li,h1,h2,h3,h4,s,object[classid|type|id|name|width|height|codebase],param[name|value],table,tr,td"; + $allowed = "p,a[href],i,em,b,strong,code,pre,blockquote,br,img[src|alt|title|align|hspace],ul,ol,li,h1,h2,h3,h4,s,object[classid|type|id|name|width|height|codebase],param[name|value],table,tr,td"; $config->set('HTML.SafeObject', true); @$config->set('HTML', 'Allowed', $allowed); -- cgit v1.2.3