mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Update notes.inc.php (#8219)
Allow from iframe border removal by allowing frameborder attribute.
This commit is contained in:
committed by
Tony Murray
parent
977796382d
commit
1cdb37d416
@@ -35,7 +35,7 @@ if (defined('SHOW_SETTINGS') || empty($widget_settings)) {
|
||||
} else {
|
||||
$tmp_config = array(
|
||||
'HTML.Allowed' => 'b,iframe,i,ul,li,h1,h2,h3,h4,br,p',
|
||||
'HTML.AllowedAttributes' => 'iframe@src,iframe@width,iframe@height',
|
||||
'HTML.AllowedAttributes' => 'iframe@frameborder,iframe@src,iframe@width,iframe@height',
|
||||
'HTML.AllowedElements' => array('iframe'),
|
||||
'HTML.Trusted' => true,
|
||||
'HTML.SafeIframe' => true,
|
||||
|
||||
Reference in New Issue
Block a user