]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/activity.php
atom: <link> urls should be attr, not content
[quix0rs-gnu-social.git] / lib / activity.php
index 2d3930df0d85ec46207e6ff63fa9790556f3f664..93d815e8b4eac9967fd921f21b1177e27465b361 100644 (file)
@@ -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));
             }
 
         }