6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/17/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#14684] empty lines in tooltip information on task list
*
Your Email Address
*
Spam protection
Enter the letters below:
.__ .___.__..__ .__ [__)[__ | |[__)[__) | \[___|__\| |
Comment
> Hovering the mouse pointer over a task in list view effects a tooltip > displaying the task description. If the description has more than one > line, empty lines are shown between adjacent lines. The HTML source > code reveals that there are sequences of "\r","" introduced > between each two lines. > > The tooltip is generated in nag/templates/list/_task.html.php, line 57: > echo Horde::linkTooltip($task->view_link->add($params), '', > '', '', '', $task->desc) > . $task_name . '</a>'; > > The linkTooltip method in line 596 of Horde.php reads: > > $attributes['nicetitle'] = Horde_Serialize::serialize(explode("\n", > preg_replace('/<br\s*\/?\s*>/', "\n", $title)), > Horde_Serialize::JSON); > > It sems that the Serialize method (in JSON mode) introduces the > spurious quoted commas (see above).
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers