diff options
author | Andrew Dolgov <[email protected]> | 2012-01-04 23:02:27 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2012-01-04 23:02:27 +0400 |
commit | da9f393ad27e5e93ec6365586847cd2f58386a33 (patch) | |
tree | 646ad1120607360442e9a530a868767ab3a7d307 /include/functions.php | |
parent | f6cd767b9f40459cd214b0664ae60d86cc3e22e2 (diff) |
add span.class attribute to purifier.allowed to enable youtube embeds
Diffstat (limited to 'include/functions.php')
-rw-r--r-- | include/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php index 8894f8162..73c5e39fb 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,span[class]"; $config->set('HTML.SafeObject', true); @$config->set('HTML', 'Allowed', $allowed); |