Merge branch 'link-atom-fix' into 'nightly'
atom: <link> urls should be attr, not content Some activities (ex: repeats and follows) have <link>s like this: <link rel="alternate" type="text/html">http://example.org</link> This commit changes them to: <link rel="alternate" type="text/html" href="http://example.org"/> See merge request !30
This commit is contained in:
commit
238d2a3876
@ -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));
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user