@@ -63,6 +63,8 module SearchHelper | |||
|
63 | 63 | links << link_to(h(text), :q => params[:q], :titles_only => params[:titles_only], |
|
64 | 64 | :all_words => params[:all_words], :scope => params[:scope], t => 1) |
|
65 | 65 | end |
|
66 | ('<ul>' + links.map {|link| content_tag('li', link)}.join(' ') + '</ul>') unless links.empty? | |
|
66 | ('<ul>'.html_safe + | |
|
67 | links.map {|link| content_tag('li', link)}.join(' ').html_safe + | |
|
68 | '</ul>'.html_safe) unless links.empty? | |
|
67 | 69 | end |
|
68 | 70 | end |
General Comments 0
You need to be logged in to leave comments.
Login now