]> git.mxchange.org Git - friendica.git/blobdiff - src/Content/Text/Plaintext.php
Merge pull request #10846 from nupplaphil/feat/adapt_vagrant
[friendica.git] / src / Content / Text / Plaintext.php
index e635d727e84dfe9958099a068fda33664dfa32e4..be93ac4cdba76a859d3416c8d6925e0ff2e4994a 100644 (file)
@@ -175,7 +175,7 @@ class Plaintext
                        }
                }
 
-               $html = BBCode::convert($post['text'] . ($post['after'] ?? ''), false, $htmlmode);
+               $html = BBCode::convertForUriId($item['uri-id'], $post['text'] . ($post['after'] ?? ''), $htmlmode);
                $msg = HTML::toPlaintext($html, 0, true);
                $msg = trim(html_entity_decode($msg, ENT_QUOTES, 'UTF-8'));