summaryrefslogtreecommitdiff
path: root/library/WT/Filter.php
diff options
context:
space:
mode:
Diffstat (limited to 'library/WT/Filter.php')
-rw-r--r--library/WT/Filter.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/WT/Filter.php b/library/WT/Filter.php
index bc941619e5..39605a55ec 100644
--- a/library/WT/Filter.php
+++ b/library/WT/Filter.php
@@ -85,7 +85,7 @@ class WT_Filter {
'/' . addcslashes('(?!>)' . self::URL_REGEX . '(?!</a>)', '/') . '/i',
create_function( // Insert soft hyphens into the replaced string
'$m',
- 'return "<a href=\"" . $m[0] . "\" target=\"blank\">" . preg_replace("/\b/", "&shy;", $m[0]) . "</a>";'
+ 'return "<a href=\"" . $m[0] . "\" target=\"_blank\">" . preg_replace("/\b/", "&shy;", $m[0]) . "</a>";'
),
WT_Filter::escapeHtml($text)
);