From: Brion Vibber Date: Fri, 20 Nov 2009 18:17:14 +0000 (-0800) Subject: Fix double-escaped HTML in mapstraction notice popups X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1ca022464a87258357ab172bbdf4e91cce849091;p=quix0rs-gnu-social.git Fix double-escaped HTML in mapstraction notice popups --- diff --git a/plugins/Mapstraction/MapstractionPlugin.php b/plugins/Mapstraction/MapstractionPlugin.php index d31106864f..daedaf40d0 100644 --- a/plugins/Mapstraction/MapstractionPlugin.php +++ b/plugins/Mapstraction/MapstractionPlugin.php @@ -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);