diff --git a/include/plaintext.php b/include/plaintext.php index 559e0a0e83..92ba8a2756 100644 --- a/include/plaintext.php +++ b/include/plaintext.php @@ -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;