]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Added rel=external to geo location link
authorSarven Capadisli <csarven@status.net>
Sun, 14 Mar 2010 18:11:21 +0000 (14:11 -0400)
committerSarven Capadisli <csarven@status.net>
Thu, 25 Mar 2010 20:33:26 +0000 (21:33 +0100)
lib/noticelist.php

index 811b7e4f1070e283151bb678f0c77c4de34d6e9b..0d4cd4dd91c7d87ab68a89065be58121b1f345fc 100644 (file)
@@ -443,7 +443,8 @@ class NoticeListItem extends Widget
                                 $name);
         } else {
             $xstr = new XMLStringer(false);
-            $xstr->elementStart('a', array('href' => $url));
+            $xstr->elementStart('a', array('href' => $url,
+                                           'rel' => 'external'));
             $xstr->element('abbr', array('class' => 'geo',
                                          'title' => $latlon),
                            $name);