]> git.mxchange.org Git - friendica.git/commitdiff
repair double-encoded double quotes
authorFriendika <info@friendika.com>
Fri, 21 Jan 2011 05:02:02 +0000 (21:02 -0800)
committerFriendika <info@friendika.com>
Fri, 21 Jan 2011 05:02:02 +0000 (21:02 -0800)
include/items.php

index 1fdbc6fc2090e4731a4b7e7f2be0dbad1b203a5a..f1169aeb412cda6c3713bf3c5604cfede49d0bff 100644 (file)
@@ -636,8 +636,8 @@ function item_store($arr) {
        // they came through. 
 
        $arr['body']          = str_replace(
-                                                               array('&amp;amp;','&amp;gt;','&amp;lt;'),
-                                                               array('&amp;'    ,'&gt;'    ,'&lt;'),
+                                                               array('&amp;amp;', '&amp;gt;', '&amp;lt;', '&amp;quot;'),
+                                                               array('&amp;'    , '&gt;'    , '&lt;',     '&quot'),
                                                                $arr['body']
                                                        );