aboutsummaryrefslogtreecommitdiffstats
path: root/addon/facebook
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-06-10 01:51:14 -0700
committerFriendika <info@friendika.com>2011-06-10 01:51:14 -0700
commit7c60701efc091945dd2ee14728263d8dae0f88b0 (patch)
tree054b0e893e244172062c24a58f57c95d0be67fce /addon/facebook
parentb857a49bfeecc91eaa5a09c9b9ded5b84516bc6e (diff)
downloadvolse-hubzilla-7c60701efc091945dd2ee14728263d8dae0f88b0.tar.gz
volse-hubzilla-7c60701efc091945dd2ee14728263d8dae0f88b0.tar.bz2
volse-hubzilla-7c60701efc091945dd2ee14728263d8dae0f88b0.zip
fixed a few feed problems affecting activity objects/targets
Diffstat (limited to 'addon/facebook')
-rw-r--r--addon/facebook/facebook.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/addon/facebook/facebook.php b/addon/facebook/facebook.php
index 9e41065de..545779cd5 100644
--- a/addon/facebook/facebook.php
+++ b/addon/facebook/facebook.php
@@ -908,7 +908,7 @@ function fb_consume_stream($uid,$j,$wall = false) {
$likedata['body'] = sprintf( t('%1$s likes %2$s\'s %3$s'), $author, $objauthor, $plink);
$likedata['object'] = '<object><type>' . ACTIVITY_OBJ_NOTE . '</type><local>1</local>' .
- '<id>' . $orig_post['uri'] . '</id><link>' . xmlify('<link rel="alternate" type="text/html" href="' . $orig_post['plink'] . '">') . '</link><title>' . $orig_post['title'] . '</title><content>' . $orig_post['body'] . '</content></object>';
+ '<id>' . $orig_post['uri'] . '</id><link>' . xmlify('<link rel="alternate" type="text/html" href="' . xmlify($orig_post['plink']) . '" />') . '</link><title>' . $orig_post['title'] . '</title><content>' . $orig_post['body'] . '</content></object>';
$item = item_store($likedata);
}