]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/activity.php
Don't trust local HTML either
[quix0rs-gnu-social.git] / lib / activity.php
index 4db3b9ff4e801c2bab10772ebb800ddadf578a0c..3128088ca21b45772ff844e60ce98cc14378888d 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));
             }
 
         }