summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-12-28 14:07:14 +0400
committerAndrew Dolgov <[email protected]>2011-12-28 14:07:14 +0400
commit97f0b075bf720fb81ae713d9f1309fdc5f86ca12 (patch)
tree9637022765fbf44e760efa6c06d4b462d25a8139 /include
parent547e84c4f5834326acede39f7413a93b428fc03a (diff)
add img[align,hspace] attributes (closes #370)
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 2ad3bde41..3e926b1a3 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -2560,7 +2560,7 @@
$config = HTMLPurifier_Config::createDefault();
- $allowed = "p,a[href],i,em,b,strong,code,pre,blockquote,br,img[src|alt|title],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);