It looks like HTMLPurifier treats these as risky and/or invalid by default:
http://htmlpurifier.org/phorum/read.php?3,6308
You’ll need to tell HTMLPurifier to allow the “style” attribute by modifying the code. This will be similar to the PKPString modification suggested here:
Thanks:
STEP-BY-STEP:
edit the config.inc.php file in your ojs folder and edit the line allowed_html by adding iframe to it:
allowed_html = "a,....,iframe[frameborder|scrolling|style|src|width|height]>"
now the htmlpurifier library:
open the following file on the editor using a command:
$ pico /lib/pkp/classes/core/PKPString.inc.php
and find the line with htmlpurifier (using ctrl+W and writing htmlpurif)
edit the entry to contain these two lines:
$config->set('HTML.SafeIframe', true); …