Revert "update function calls"
[friendica-addons.git/.git] / ijpost / ijpost.php
index 1203d2f..d2a3071 100644 (file)
@@ -15,7 +15,7 @@ use Friendica\Core\Logger;
 use Friendica\Core\PConfig;
 use Friendica\Util\DateTimeFormat;
 use Friendica\Util\Network;
-use Friendica\Util\Strings;
+use Friendica\Util\XML;
 
 function ijpost_install()
 {
@@ -186,7 +186,7 @@ function ijpost_send(&$a, &$b)
        if ($ij_username && $ij_password && $ij_blog) {
                $title = $b['title'];
                $post = BBCode::convert($b['body']);
-               $post = Strings::escape($post);
+               $post = XML::escape($post);
                $tags = ijpost_get_tags($b['tag']);
 
                $date = DateTimeFormat::convert($b['created'], $tz);