aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-02-20 19:51:00 -0800
committerFriendika <info@friendika.com>2011-02-20 19:51:00 -0800
commitd609e75b07d6ba0d0867c6bce78b90b7f488923c (patch)
treea913603a72aba0dd71d9447631b1fd0127e358a6
parentc6b28ee5edfee53aa5e9dc8d2576eb07b1accac4 (diff)
downloadvolse-hubzilla-d609e75b07d6ba0d0867c6bce78b90b7f488923c.tar.gz
volse-hubzilla-d609e75b07d6ba0d0867c6bce78b90b7f488923c.tar.bz2
volse-hubzilla-d609e75b07d6ba0d0867c6bce78b90b7f488923c.zip
facebook plugin: convert html entities
-rw-r--r--addon/facebook/facebook.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/addon/facebook/facebook.php b/addon/facebook/facebook.php
index 8975d8e7a..c2c5a8876 100644
--- a/addon/facebook/facebook.php
+++ b/addon/facebook/facebook.php
@@ -194,6 +194,7 @@ function facebook_post_hook(&$a,&$b) {
$msg = preg_replace("/\[img\](.+?)\[\/img\]/is", t('Image: ') . '$1',$msg);
$msg = trim(strip_tags(bbcode($msg)));
+ $msg = html_entity_decode($msg,ENT_QUOTES,'UTF-8');
if (strlen($msg) > FACEBOOK_MAXPOSTLEN) {
$shortlink = "";