summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-12-31 11:39:12 +0400
committerAndrew Dolgov <[email protected]>2011-12-31 11:39:12 +0400
commitf95c766102a482279a7856336de35109826a2e13 (patch)
tree909a9944dedc2b21b1b57def9b48bbf374e6b23c /include
parentb840a74a1db4c87afd96da4df9d3f4d92f1459f3 (diff)
sanitize: fix img attributes
Diffstat (limited to 'include')
-rw-r--r--include/functions.php2
1 files changed, 1 insertions, 1 deletions
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);