summaryrefslogtreecommitdiff
path: root/include/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/functions.php')
-rw-r--r--include/functions.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php
index e57ee6953..994b4c179 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -3022,7 +3022,8 @@
if ($line["link"]) {
$rv['content'] .= "<div class='postTitle'><a target='_blank'
- title=\"".htmlspecialchars($line['title'])."\"
+ title=\"".htmlspecialchars($line["link"], ENT_COMPAT | ENT_HTML401,
+ 'utf-8', false)."\"
href=\"" .
htmlspecialchars($line["link"]) . "\">" .
$line["title"] . "</a>" .