diff --git a/main/inc/lib/security.lib.php b/main/inc/lib/security.lib.php old mode 100755 new mode 100644 index adddabfc94..546cd1092f --- a/main/inc/lib/security.lib.php +++ b/main/inc/lib/security.lib.php @@ -282,6 +282,8 @@ class Security { $config->set('HTML.TidyLevel', 'light'); $config->set('Core.ConvertDocumentToFragment', false); $config->set('Core.RemoveProcessingInstructions', true); + //Shows _target attribute in anchors + $config->set('Attr.AllowedFrameTargets', array('_blank')); if ($user_status == STUDENT) { global $allowed_html_student; $config->set('HTML.SafeEmbed', true);