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"/>
This commit is contained in:
parent
404d5781fc
commit
96a7bf2b90
|
@ -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