Commit a162ccff02711813a78768d01dfc89c79024a103
1 parent
b2a0c431
Exists in
master
and in
28 other branches
Fixing html_safe and only starting server on tests run
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
app/helpers/search_helper.rb
... | ... | @@ -95,7 +95,7 @@ module SearchHelper |
95 | 95 | map_link = display?(asset, :map) ? (display == 'map' ? _('Map') : link_to(_('Map'), params.merge(:display => 'map'))) : nil |
96 | 96 | full_link = display?(asset, :full) ? (display == 'full' ? _('Full') : link_to(_('Full'), params.merge(:display => 'full'))) : nil |
97 | 97 | content_tag('div', |
98 | - content_tag('strong', _('Display')) + ': ' + [compact_link, map_link, full_link].compact.join(' | '), | |
98 | + content_tag('strong', _('Display')) + ': ' + [compact_link, map_link, full_link].compact.join(' | ').html_safe, | |
99 | 99 | :class => 'search-customize-options' |
100 | 100 | ) |
101 | 101 | end | ... | ... |
plugins/solr/test/test_solr_helper.rb