From: Brion Vibber Date: Fri, 2 Apr 2010 16:32:03 +0000 (-0700) Subject: Ticket 2271: extra whitespace in underlined link for username in notice lists X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b10ff031d9ba8c5e3b5267a469e8332011149fee;p=quix0rs-gnu-social.git Ticket 2271: extra whitespace in underlined link for username in notice lists Switching to a raw() output for the of the nickname removes the extra whitespace and fixes display. --- diff --git a/lib/noticelist.php b/lib/noticelist.php index 0d4cd4dd91..83c8de9f6e 100644 --- a/lib/noticelist.php +++ b/lib/noticelist.php @@ -340,8 +340,9 @@ class NoticeListItem extends Widget function showNickname() { - $this->out->element('span', array('class' => 'nickname fn'), - $this->profile->nickname); + $this->out->raw('' . + htmlspecialchars($this->profile->nickname) . + ''); } /**