Use "convertForUriId" when possible

This commit is contained in:
Michael 2021-07-10 07:40:39 +00:00
parent b164910032
commit 9eaa6a2c08
9 changed files with 16 additions and 16 deletions

View file

@ -180,7 +180,7 @@ function ljpost_send(&$a,&$b) {
if($lj_username && $lj_password && $lj_blog) {
$title = XML::escape($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]);