From 96a7bf2b90394b263515612e67b04275ce2434e6 Mon Sep 17 00:00:00 2001 From: Chimo Date: Mon, 14 Sep 2015 21:25:36 -0400 Subject: [PATCH] atom: urls should be attr, not content Some activities (ex: repeats and follows) have s like this: http://example.org This commit changes them to: --- lib/activity.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/activity.php b/lib/activity.php index 2d3930df0d..93d815e8b4 100644 --- a/lib/activity.php +++ b/lib/activity.php @@ -579,8 +579,8 @@ class Activity if (!empty($this->link)) { $xs->element('link', array('rel' => 'alternate', - 'type' => 'text/html'), - $this->link); + 'type' => 'text/html', + 'href' => $this->link)); } }