Revert "title escaping: do not double-encode entities"
This reverts commit d6ce708930
.
This commit is contained in:
parent
99534a3dde
commit
bf1dc420b9
|
@ -432,8 +432,7 @@ class Feeds extends Handler_Protected {
|
||||||
$reply['content'] .= "<div onclick='return hlClicked(event, $id)'
|
$reply['content'] .= "<div onclick='return hlClicked(event, $id)'
|
||||||
class=\"hlTitle\"><span class='hlContent$hlc_suffix'>";
|
class=\"hlTitle\"><span class='hlContent$hlc_suffix'>";
|
||||||
$reply['content'] .= "<a id=\"RTITLE-$id\"
|
$reply['content'] .= "<a id=\"RTITLE-$id\"
|
||||||
href=\"" . htmlspecialchars($line["link"], ENT_COMPAT | ENT_HTML401,
|
href=\"" . htmlspecialchars($line["link"]) . "\"
|
||||||
'utf-8', false) . "\"
|
|
||||||
onclick=\"\">" .
|
onclick=\"\">" .
|
||||||
truncate_string($line["title"], 200);
|
truncate_string($line["title"], 200);
|
||||||
|
|
||||||
|
|
|
@ -3022,8 +3022,7 @@
|
||||||
|
|
||||||
if ($line["link"]) {
|
if ($line["link"]) {
|
||||||
$rv['content'] .= "<div class='postTitle'><a target='_blank'
|
$rv['content'] .= "<div class='postTitle'><a target='_blank'
|
||||||
title=\"".htmlspecialchars($line["link"], ENT_COMPAT | ENT_HTML401,
|
title=\"".htmlspecialchars($line['title'])."\"
|
||||||
'utf-8', false)."\"
|
|
||||||
href=\"" .
|
href=\"" .
|
||||||
htmlspecialchars($line["link"]) . "\">" .
|
htmlspecialchars($line["link"]) . "\">" .
|
||||||
$line["title"] . "</a>" .
|
$line["title"] . "</a>" .
|
||||||
|
|
Loading…
Reference in New Issue