]> git.mxchange.org Git - friendica.git/blobdiff - include/plaintext.php
Bugfix: The url in attachments had problems with entities
[friendica.git] / include / plaintext.php
index 559e0a0e83e13a0fc7d4cfa387a5ad13284c7e2d..92ba8a27564bc9f0b182f6f96a92239528b3314f 100644 (file)
@@ -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;