Fix double-escaped HTML in mapstraction notice popups

This commit is contained in:
Brion Vibber 2009-11-20 10:17:14 -08:00
parent 46c5a52810
commit 1ca022464a

View File

@ -226,8 +226,8 @@ class MapstractionPlugin extends Plugin
$arr = $act->twitterStatusArray($notice, true); $arr = $act->twitterStatusArray($notice, true);
$arr['url'] = $notice->bestUrl(); $arr['url'] = $notice->bestUrl();
$arr['html'] = htmlspecialchars($notice->rendered); $arr['html'] = $notice->rendered;
$arr['source'] = htmlspecialchars($arr['source']); $arr['source'] = $arr['source'];
if (!empty($notice->reply_to)) { if (!empty($notice->reply_to)) {
$reply_to = Notice::staticGet('id', $notice->reply_to); $reply_to = Notice::staticGet('id', $notice->reply_to);