diff options
author | Andrew Dolgov <[email protected]> | 2013-03-23 10:49:50 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-03-23 10:49:50 +0400 |
commit | bf1dc420b9490df07c17d9d96b1d48784e448b1a (patch) | |
tree | eaf4d749d9100f4a47a3bda7d2a5fd29448eabf3 /include/functions.php | |
parent | 99534a3dde1bd488c193d84c11a0a886bee0fda4 (diff) |
Revert "title escaping: do not double-encode entities"
This reverts commit d6ce708930cb838af3ed1cf585d3ca62b7036d9b.
Diffstat (limited to 'include/functions.php')
-rw-r--r-- | include/functions.php | 3 |
1 files changed, 1 insertions, 2 deletions
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>" . |