Fixes the indenting bug for geo anchor. Also mention in trac ticket 2235

This commit is contained in:
Sarven Capadisli 2010-03-11 16:40:16 -05:00
parent 4c320872d9
commit ded26ae8f5

View File

@ -442,11 +442,13 @@ 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));
$xstr->element('abbr', array('class' => 'geo',
'title' => $latlon),
$name);
$xstr->elementEnd('a');
$this->out->raw($xstr->getString());
}
$this->out->elementEnd('span');
}