From 1ca022464a87258357ab172bbdf4e91cce849091 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Fri, 20 Nov 2009 10:17:14 -0800 Subject: [PATCH] Fix double-escaped HTML in mapstraction notice popups --- plugins/Mapstraction/MapstractionPlugin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.5