Ticket 2271: extra whitespace in underlined link for username in notice lists
Switching to a raw() output for the <span> of the nickname removes the extra whitespace and fixes display.
This commit is contained in:
parent
9f2cfd20f8
commit
b10ff031d9
@ -340,8 +340,9 @@ class NoticeListItem extends Widget
|
|||||||
|
|
||||||
function showNickname()
|
function showNickname()
|
||||||
{
|
{
|
||||||
$this->out->element('span', array('class' => 'nickname fn'),
|
$this->out->raw('<span class="nickname fn">' .
|
||||||
$this->profile->nickname);
|
htmlspecialchars($this->profile->nickname) .
|
||||||
|
'</span>');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user