X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=ijpost%2Fijpost.php;h=d2a3071eb742a5ef600d1b83e9c3fb4d6f2410da;hb=90b1ef56f7415a71f22feaa34377802a4a9d0fbb;hp=a5f98f451d0884ca594e24286c7c589eb9803d21;hpb=807a9bf383fc05dba070519fc630c91a32d1a87d;p=friendica-addons.git diff --git a/ijpost/ijpost.php b/ijpost/ijpost.php index a5f98f45..d2a3071e 100644 --- a/ijpost/ijpost.php +++ b/ijpost/ijpost.php @@ -15,6 +15,7 @@ use Friendica\Core\Logger; use Friendica\Core\PConfig; use Friendica\Util\DateTimeFormat; use Friendica\Util\Network; +use Friendica\Util\XML; function ijpost_install() { @@ -185,7 +186,7 @@ function ijpost_send(&$a, &$b) if ($ij_username && $ij_password && $ij_blog) { $title = $b['title']; $post = BBCode::convert($b['body']); - $post = xmlify($post); + $post = XML::escape($post); $tags = ijpost_get_tags($b['tag']); $date = DateTimeFormat::convert($b['created'], $tz);