We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit b10ff031 authored by Brion Vibber's avatar Brion Vibber

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.
parent 9f2cfd20
...@@ -340,8 +340,9 @@ class NoticeListItem extends Widget ...@@ -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>');
} }
/** /**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment