mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-16 20:05:14 +02: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
|
@ -1025,7 +1025,7 @@ function diaspora_reshare($importer,$xml,$msg) {
|
|||
$datarray['owner-link'] = $contact['url'];
|
||||
$datarray['owner-avatar'] = ((x($contact,'thumb')) ? $contact['thumb'] : $contact['photo']);
|
||||
if (intval(get_config('system','new_share'))) {
|
||||
$prefix = "[share author='".$person['name'].
|
||||
$prefix = "[share author='".str_replace("'", "'",$person['name']).
|
||||
"' profile='".$person['url'].
|
||||
"' avatar='".((x($person,'thumb')) ? $person['thumb'] : $person['photo']).
|
||||
"' link='".$orig_url."']";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue