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
1 changed files with 2 additions and 2 deletions

View File

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