diff options
author | Friendika <info@friendika.com> | 2011-09-14 01:21:03 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-09-14 01:21:03 -0700 |
commit | 44d70a238fed787d1c762a19507b19d8a3a8d8cd (patch) | |
tree | dcc01f542c04ef7aa6b219fe66780c41f3fb72fa /addon/statusnet/statusnet.php | |
parent | 12fec754892b29ab9c07b20b1d6b322f6724aae8 (diff) | |
download | volse-hubzilla-44d70a238fed787d1c762a19507b19d8a3a8d8cd.tar.gz volse-hubzilla-44d70a238fed787d1c762a19507b19d8a3a8d8cd.tar.bz2 volse-hubzilla-44d70a238fed787d1c762a19507b19d8a3a8d8cd.zip |
quotes not working on statusnet plugin posts
Diffstat (limited to 'addon/statusnet/statusnet.php')
-rw-r--r-- | addon/statusnet/statusnet.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/addon/statusnet/statusnet.php b/addon/statusnet/statusnet.php index f1b35d6c0..0c0f4ced7 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'); |