]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix double-escaped HTML in mapstraction notice popups
authorBrion Vibber <brion@pobox.com>
Fri, 20 Nov 2009 18:17:14 +0000 (10:17 -0800)
committerBrion Vibber <brion@pobox.com>
Fri, 20 Nov 2009 18:17:14 +0000 (10:17 -0800)
plugins/Mapstraction/MapstractionPlugin.php

index d31106864fd33828727811154fb36da15b7964b5..daedaf40d0d35bf0a2a1d08801792112227f1d76 100644 (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);