[Git][noosfero/noosfero][master] should not escape arrow

Leandro Nunes gitlab at mg.gitlab.com
Fri May 27 11:02:55 BRT 2016


Leandro Nunes pushed to branch master at Noosfero / noosfero


Commits:
9f79ead3 by Leandro Nunes dos Santos at 2016-05-27T10:58:32-03:00
should not escape arrow

- - - - -


1 changed file:

- app/helpers/application_helper.rb


Changes:

=====================================
app/helpers/application_helper.rb
=====================================
--- 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
 



View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/9f79ead343fbd9f8fa95c5ed20093e11d2326e12
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20160527/7933fb76/attachment-0001.html>


More information about the Noosfero-dev mailing list