fix issues report when code review

This commit is contained in:
aaronchen2k
2020-02-11 14:47:55 +08:00
parent b7f1e002c7
commit 777d34a30f
22 changed files with 207 additions and 170 deletions
@@ -25,8 +25,9 @@ class HTMLPurifier_HTMLModule_Iframe extends HTMLPurifier_HTMLModule
*/
public function setup($config)
{
if ($config->get('HTML.SafeIframe')) $this->safe = true;
if ($config->get('HTML.SafeIframe')) {
$this->safe = true;
}
$this->addElement(
'iframe',
'Inline',