<em> html displayed around new replies in the Replies column
friedchuckles - April 11, 2007 - 16:39
| Project: | Extended Tracker |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
The <em> html tags are showing in the Replies column around the number of new replies.
This is because the html is inserted before the link is created and l() is automatically converting the htmltoentities. To fix this tell l() that there is html in the link.
Change:
$comments .= l(t('%num new', array('%num' => $new)), "node/$node->nid", NULL, NULL, 'new');
TO:
$comments .= l(t('%num new', array('%num' => $new)), "node/$node->nid", NULL, NULL, 'new', FALSE, TRUE);
The last TRUE does the trick.

#1
There is a cleaner solution. Using @ instead of %.
Wait for 12 hours from the time of this commit, and download the new tarball and give it a spin.
#2