]> git.mxchange.org Git - friendica.git/blobdiff - include/bbcode.php
"share" - now the attribut value for the "author" is escaped
[friendica.git] / include / bbcode.php
index f3c4e360d5abc22a2a9c817c7e19c987b6444741..384fd5ebd90a8aa1b156908143cc5e720705858a 100644 (file)
@@ -221,7 +221,7 @@ function bb_ShareAttributes($match) {
         $author = "";
         preg_match("/author='(.*?)'/ism", $attributes, $matches);
         if ($matches[1] != "")
-                $author = $matches[1];
+                $author = html_entity_decode($matches[1],ENT_QUOTES,'UTF-8');
 
         preg_match('/author="(.*?)"/ism', $attributes, $matches);
         if ($matches[1] != "")