Commit 9f79ead343fbd9f8fa95c5ed20093e11d2326e12
1 parent
8cecb78f
Exists in
ratings_minor_fixes
and in
3 other branches
should not escape arrow
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/helpers/application_helper.rb
... | ... | @@ -857,7 +857,7 @@ module ApplicationHelper |
857 | 857 | alias :browse_communities_menu :search_communities_menu |
858 | 858 | |
859 | 859 | def pagination_links(collection, options={}) |
860 | - options = {:previous_label => content_tag(:span, '« ', :class => 'previous-arrow') + _('Previous'), :next_label => _('Next') + content_tag(:span, ' »', :class => 'next-arrow'), :inner_window => 1, :outer_window => 0 }.merge(options) | |
860 | + options = {:previous_label => content_tag(:span, '« '.html_safe, :class => 'previous-arrow') + _('Previous'), :next_label => _('Next') + content_tag(:span, ' »'.html_safe, :class => 'next-arrow'), :inner_window => 1, :outer_window => 0 }.merge(options) | |
861 | 861 | will_paginate(collection, options) |
862 | 862 | end |
863 | 863 | ... | ... |