aboutsummaryrefslogtreecommitdiffstats
path: root/addon
diff options
context:
space:
mode:
Diffstat (limited to 'addon')
-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 = "";