]> git.mxchange.org Git - friendica.git/commitdiff
Bugfix for shares in the plaintext function
authorMichael Vogel <icarus@dabo.de>
Fri, 13 May 2016 20:23:46 +0000 (22:23 +0200)
committerMichael Vogel <icarus@dabo.de>
Fri, 13 May 2016 20:23:46 +0000 (22:23 +0200)
include/plaintext.php

index 39eed5111e12abca8523b7e6370b60c9a9a16d07..30ea5d9eeda719f177052dac89d535b133c3be2b 100644 (file)
@@ -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'));