From: Michael Date: Wed, 14 Mar 2018 21:47:24 +0000 (+0000) Subject: Avoid double encoding of the attachment content X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8c42e2e62e4c76d456ed1506a0305611987a8fc0;p=friendica.git Avoid double encoding of the attachment content --- diff --git a/src/Content/Text/BBCode.php b/src/Content/Text/BBCode.php index 9eb5cfd724..edff3a2846 100644 --- a/src/Content/Text/BBCode.php +++ b/src/Content/Text/BBCode.php @@ -705,7 +705,7 @@ class BBCode } if ($data["description"] != "" && $data["description"] != $data["title"]) { - $return .= sprintf('
%s
', trim(BBCode::convert($data["description"]))); + $return .= sprintf('
%s
', trim($data["description"])); } if ($data["type"] == "link") {