From: Friendika Date: Wed, 14 Sep 2011 08:21:03 +0000 (-0700) Subject: quotes not working on statusnet plugin posts X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=44d70a238fed787d1c762a19507b19d8a3a8d8cd;p=friendica.git quotes not working on statusnet plugin posts --- diff --git a/addon/statusnet/statusnet.php b/addon/statusnet/statusnet.php index f1b35d6c04..0c0f4ced7b 100644 --- a/addon/statusnet/statusnet.php +++ b/addon/statusnet/statusnet.php @@ -385,6 +385,8 @@ function statusnet_post_hook(&$a,&$b) { $dent = new StatusNetOAuth($api,$ckey,$csecret,$otoken,$osecret); $max_char = $dent->get_maxlength(); // max. length for a dent $msg = strip_tags(bbcode($b['body'])); + // quotes not working - let's try this + $msg = html_entity_decode($msg); if ( strlen($msg) > $max_char) { $shortlink = ""; require_once('library/slinky.php');