]> git.mxchange.org Git - friendica.git/blobdiff - include/items.php
repair double-encoded double quotes
[friendica.git] / include / items.php
index 1fdbc6fc2090e4731a4b7e7f2be0dbad1b203a5a..f1169aeb412cda6c3713bf3c5604cfede49d0bff 100644 (file)
@@ -636,8 +636,8 @@ function item_store($arr) {
        // they came through. 
 
        $arr['body']          = str_replace(
-                                                               array('&','>','<'),
-                                                               array('&'    ,'>'    ,'<'),
+                                                               array('&', '>', '<', '"'),
+                                                               array('&'    , '>'    , '<',     '&quot'),
                                                                $arr['body']
                                                        );