##// END OF EJS Templates
Rails3: helper: html_safe for SearchHelper highlight_tokens method...
Toshi MARUYAMA -
r8335:c86cb730f19b
parent child
Show More
@@ -37,7 +37,7 module SearchHelper
37 result << content_tag('span', h(words), :class => "highlight token-#{t}")
37 result << content_tag('span', h(words), :class => "highlight token-#{t}")
38 end
38 end
39 end
39 end
40 result
40 result.html_safe
41 end
41 end
42
42
43 def type_label(t)
43 def type_label(t)
General Comments 0
You need to be logged in to leave comments. Login now