]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add type='text/html' to alternate link in Notice Atom
authorEvan Prodromou <evan@status.net>
Fri, 19 Feb 2010 03:13:47 +0000 (22:13 -0500)
committerEvan Prodromou <evan@status.net>
Fri, 19 Feb 2010 03:13:47 +0000 (22:13 -0500)
classes/Notice.php

index 7e2b8b4a69e91f7a432a909a09ff020a33ee3be4..a52cfed70c2c8b9ce07a72c5085a29fdad80021a 100644 (file)
@@ -1012,6 +1012,7 @@ class Notice extends Memcached_DataObject
         $xs->raw($profile->asActivityActor());
 
         $xs->element('link', array('rel' => 'alternate',
+                                   'type' => 'text/html',
                                    'href' => $this->bestUrl()));
 
         $xs->element('id', null, $this->uri);