From 1b2f67906ba8bff26cc8a5da66b494f396db926f Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Fri, 13 May 2016 22:23:46 +0200 Subject: [PATCH] Bugfix for shares in the plaintext function --- include/plaintext.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')); -- 2.39.5