how can I allow 'name' in HtmlPurifier ? I try to use like this :
config = HTMLPurifier_Config::createDefault();
$config->set('HTML.AllowedAttributes', 'img._src, img.name, img.src,img.alt');
return HtmlPurifier::process($html, $config);
but it not work ? How can I do? thx