From 9f79ead343fbd9f8fa95c5ed20093e11d2326e12 Mon Sep 17 00:00:00 2001 From: Leandro Nunes dos Santos Date: Fri, 27 May 2016 10:58:32 -0300 Subject: [PATCH] should not escape arrow --- app/helpers/application_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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