diff --git a/common/framework/filters/htmlfilter.php b/common/framework/filters/htmlfilter.php
index 4f207bb50..e79d02709 100644
--- a/common/framework/filters/htmlfilter.php
+++ b/common/framework/filters/htmlfilter.php
@@ -139,7 +139,7 @@ class HTMLFilter
// Customize the default configuration.
$config->set('Attr.AllowedClasses', $allowed_classes);
- $config->set('Attr.AllowedFrameTargets', array('_blank'));
+ $config->set('Attr.AllowedFrameTargets', array('_blank', '_self'));
$config->set('Attr.DefaultImageAlt', '');
$config->set('Attr.EnableID', true);
$config->set('Attr.IDPrefix', 'user_content_');