Fixes bug when showing a link with a "target" attribute see #3997 (adding the blank, top, self, and parent founded in FCKEditor)

skala
Julio Montoya 15 years ago
parent e9c8bf2847
commit d3cf2a2434
  1. 2
      main/inc/lib/security.lib.php

@ -283,7 +283,7 @@ class Security {
$config->set('Core.ConvertDocumentToFragment', false);
$config->set('Core.RemoveProcessingInstructions', true);
//Shows _target attribute in anchors
$config->set('Attr.AllowedFrameTargets', array('_blank'));
$config->set('Attr.AllowedFrameTargets', array('_blank','_top','_self', '_parent'));
if ($user_status == STUDENT) {
global $allowed_html_student;
$config->set('HTML.SafeEmbed', true);

Loading…
Cancel
Save