Closed (fixed)
Project:
Extended Tracker
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Apr 2007 at 16:39 UTC
Updated:
27 Apr 2007 at 20:19 UTC
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.
Comments
Comment #1
kbahey commentedThere 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.
Comment #2
(not verified) commented