mirror of
https://github.com/friendica/friendica
synced 2024-12-24 00:40:16 +00:00
Merge pull request #2527 from annando/1605-entities-link
Bugfix: The url in attachments had problems with entities
This commit is contained in:
commit
1383c73c8d
1 changed files with 2 additions and 0 deletions
|
@ -116,6 +116,8 @@ function get_attachment_data($body) {
|
|||
if ($matches[1] != "")
|
||||
$url = $matches[1];
|
||||
|
||||
$url = html_entity_decode($url, ENT_QUOTES, 'UTF-8');
|
||||
|
||||
if ($url != "")
|
||||
$data["url"] = $url;
|
||||
|
||||
|
|
Loading…
Reference in a new issue