X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fnoticelist.php;h=0d4cd4dd91c7d87ab68a89065be58121b1f345fc;hb=67f2f01c5e1cad743e849cdaaaf11deb6e435844;hp=88a9252414325ba8d38cb2f0f327770ff186133a;hpb=59e34122b736eb070e9c39e361df3a2a028592c9;p=quix0rs-gnu-social.git diff --git a/lib/noticelist.php b/lib/noticelist.php index 88a9252414..0d4cd4dd91 100644 --- a/lib/noticelist.php +++ b/lib/noticelist.php @@ -442,11 +442,14 @@ class NoticeListItem extends Widget 'title' => $latlon), $name); } else { - $this->out->elementStart('a', array('href' => $url)); - $this->out->element('abbr', array('class' => 'geo', - 'title' => $latlon), - $name); - $this->out->elementEnd('a'); + $xstr = new XMLStringer(false); + $xstr->elementStart('a', array('href' => $url, + 'rel' => 'external')); + $xstr->element('abbr', array('class' => 'geo', + 'title' => $latlon), + $name); + $xstr->elementEnd('a'); + $this->out->raw($xstr->getString()); } $this->out->elementEnd('span'); }