From: Chimo Date: Tue, 15 Sep 2015 01:25:36 +0000 (-0400) Subject: atom: urls should be attr, not content X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=96a7bf2b90394b263515612e67b04275ce2434e6;p=quix0rs-gnu-social.git 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: --- 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)); } }