I can get the attributes like this:
$_attr = $_data->get('HTML.AllowedAttributes');
But I can't then set them.
Quote: [13-Dec-2014 13:54:45 Europe/Dublin] PHP Fatal error: Cannot set directive after finalization invoked on line 158 in file /Applications/AMPPS/www/demo7.ultrabubble.com/modules/ujWorkbook/include.php in /Applications/AMPPS/www/demo7.ultrabubble.com/modules/jrCore-release-5.2.16/contrib/htmlpurifier/HTMLPurifier.standalone.php on line 2607
Adding the attribute also doesn't work (seems like this is how it is done in config in the htmlpurifier docs.
Quote: [13-Dec-2014 13:58:56 Europe/Dublin] PHP Fatal error: Call to undefined method HTMLPurifier_Config::addAttribute() in /Applications/AMPPS/www/demo7.ultrabubble.com/modules/ujWorkbook/include.php on line 165
It looks like the Jamroom iframe listener turns on a filter rather than adding to the allowed attributes and elements, and I can't get much info from the htmlpurifier docs. Any suggestions would be very much appreciated.
--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
updated by @ultrajam: 01/30/15 06:56:11AM