diff options
-rw-r--r-- | classes/feeds.php | 3 | ||||
-rw-r--r-- | include/functions.php | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/classes/feeds.php b/classes/feeds.php index f67321177..3657a0564 100644 --- a/classes/feeds.php +++ b/classes/feeds.php @@ -432,8 +432,7 @@ class Feeds extends Handler_Protected { $reply['content'] .= "<div onclick='return hlClicked(event, $id)' class=\"hlTitle\"><span class='hlContent$hlc_suffix'>"; $reply['content'] .= "<a id=\"RTITLE-$id\" - href=\"" . htmlspecialchars($line["link"], ENT_COMPAT | ENT_HTML401, - 'utf-8', false) . "\" + href=\"" . htmlspecialchars($line["link"]) . "\" onclick=\"\">" . truncate_string($line["title"], 200); diff --git a/include/functions.php b/include/functions.php index 2329a2331..c01e41004 100644 --- a/include/functions.php +++ b/include/functions.php @@ -3022,8 +3022,7 @@ if ($line["link"]) { $rv['content'] .= "<div class='postTitle'><a target='_blank' - title=\"".htmlspecialchars($line["link"], ENT_COMPAT | ENT_HTML401, - 'utf-8', false)."\" + title=\"".htmlspecialchars($line['title'])."\" href=\"" . htmlspecialchars($line["link"]) . "\">" . $line["title"] . "</a>" . |