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

@ -178,7 +178,7 @@ function ijpost_send(&$a, &$b)
if ($ij_username && $ij_password && $ij_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]);