From: Michael Vogel Date: Fri, 13 May 2016 20:23:46 +0000 (+0200) Subject: Bugfix for shares in the plaintext function X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1b2f67906ba8bff26cc8a5da66b494f396db926f;p=friendica.git Bugfix for shares in the plaintext function --- diff --git a/include/plaintext.php b/include/plaintext.php index 39eed5111e..30ea5d9eed 100644 --- a/include/plaintext.php +++ b/include/plaintext.php @@ -343,7 +343,7 @@ function plaintext($a, $b, $limit = 0, $includedlinks = false, $htmlmode = 2, $t } } - $html = bbcode($post["text"], false, false, $htmlmode); + $html = bbcode($post["text"].$post["after"], false, false, $htmlmode); $msg = html2plain($html, 0, true); $msg = trim(html_entity_decode($msg,ENT_QUOTES,'UTF-8'));