mirror of
https://github.com/friendica/friendica
synced 2025-04-25 06:30:11 +00:00
"share" - now the attribut value for the "author" is escaped
This commit is contained in:
parent
f4bc5c57f3
commit
7c7d3fe5de
5 changed files with 5 additions and 6 deletions
|
@ -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] != "")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue