]> git.mxchange.org Git - friendica.git/commitdiff
quotes not working on statusnet plugin posts
authorFriendika <info@friendika.com>
Wed, 14 Sep 2011 08:21:03 +0000 (01:21 -0700)
committerFriendika <info@friendika.com>
Wed, 14 Sep 2011 08:21:03 +0000 (01:21 -0700)
addon/statusnet/statusnet.php

index f1b35d6c04ff4248d797490919c0d6ff22b400d2..0c0f4ced7b3a4bc6e71f3ea554bb1aa71e3e7bd6 100644 (file)
@@ -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');