From: Andrew Dolgov Date: Wed, 4 Jan 2012 19:02:27 +0000 (+0400) Subject: add span.class attribute to purifier.allowed to enable youtube embeds X-Git-Tag: 1.5.9~10 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=da9f393ad27e5e93ec6365586847cd2f58386a33;p=tt-rss.git add span.class attribute to purifier.allowed to enable youtube embeds --- diff --git a/include/functions.php b/include/functions.php index 8894f816..73c5e39f 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);