diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 16e1dc7..14aa236 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -857,7 +857,7 @@ module ApplicationHelper alias :browse_communities_menu :search_communities_menu def pagination_links(collection, options={}) - 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) + 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) will_paginate(collection, options) end -- libgit2 0.21.2