]> git.mxchange.org Git - friendica.git/blobdiff - include/items.php
"share" - now the attribut value for the "author" is escaped
[friendica.git] / include / items.php
index 65c04f0a2f3ee238e7554c7475174c37d3a71d2a..cd25b5665e4627a264d4c83e605a6ca2ace061a5 100755 (executable)
@@ -809,7 +809,7 @@ function get_atom_elements($feed,$item) {
                        logger('get_atom_elements: fixing sender of repeated message.');
 
                        if (intval(get_config('system','new_share'))) {
-                               $prefix = "[share author='".$name.
+                               $prefix = "[share author='".str_replace("'", "'",$name).
                                                "' profile='".$uri.
                                                "' avatar='".$avatar.
                                                "' link='".$orig_uri."']";