From 8c42e2e62e4c76d456ed1506a0305611987a8fc0 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 14 Mar 2018 21:47:24 +0000 Subject: [PATCH] Avoid double encoding of the attachment content --- src/Content/Text/BBCode.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") {