Gossamer Forum
Quote Reply
highlight tool issue
Hey Guys,

any time i use the highlight tool it seperates every character with a span. The way i display the description is below.

<%if Description%><div class="linkdescription"><%if highlight%><%Links::Tools::highlight($Description, $query)%><%else%><%Description%><%endif%></div><%endif%>

the resulting html is:

<div class="linkdescription"><span class="searchhl-"></span>W<span class="searchhl-"></span>e<span class="searchhl-"></span> ...

is this how its supposed to display or am i missing something?