]> git.mxchange.org Git - friendica-addons.git/blobdiff - dwpost/dwpost.php
Merge pull request #1150 from tobiasd/20210728-zhcn
[friendica-addons.git] / dwpost / dwpost.php
index ce4d90968be64823698e817508367e1f4f2ae654..56e04f783c2be41e7925a903e093d0cddf58f1b6 100644 (file)
@@ -183,7 +183,7 @@ function dwpost_send(App $a, array &$b)
 
        if ($dw_username && $dw_password && $dw_blog) {
                $title = $b['title'];
-               $post = BBCode::convert($b['body']);
+               $post = BBCode::convertForUriId($b['uri-id'], $b['body'], BBCode::CONNECTORS);
                $post = XML::escape($post);
                $tags = Tag::getCSVByURIId($b['uri-id'], [Tag::HASHTAG]);