Fixes the indenting bug for geo anchor. Also mention in trac ticket 2235
This commit is contained in:
parent
4c320872d9
commit
ded26ae8f5
|
@ -442,11 +442,13 @@ class NoticeListItem extends Widget
|
||||||
'title' => $latlon),
|
'title' => $latlon),
|
||||||
$name);
|
$name);
|
||||||
} else {
|
} else {
|
||||||
$this->out->elementStart('a', array('href' => $url));
|
$xstr = new XMLStringer(false);
|
||||||
$this->out->element('abbr', array('class' => 'geo',
|
$xstr->elementStart('a', array('href' => $url));
|
||||||
'title' => $latlon),
|
$xstr->element('abbr', array('class' => 'geo',
|
||||||
$name);
|
'title' => $latlon),
|
||||||
$this->out->elementEnd('a');
|
$name);
|
||||||
|
$xstr->elementEnd('a');
|
||||||
|
$this->out->raw($xstr->getString());
|
||||||
}
|
}
|
||||||
$this->out->elementEnd('span');
|
$this->out->elementEnd('span');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user