Changeset [c78608abcf2e7513779b4ae22c7eac116ac61e62] by Mislav Marohnić

September 16th, 2013 @ 05:55 PM

always call html_safe on will_paginate result

This ensures that the HTML output of will_paginate view helper is not
only marked safe in Rails, but in Padrino as well.
https://github.com/mislav/will_paginate/commit/c78608abcf2e7513779b...

Committed by Mislav Marohnić

  • M lib/will_paginate/view_helpers.rb
  • M lib/will_paginate/view_helpers/action_view.rb
  • M spec/view_helpers/base_spec.rb
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Everyone's favorite Ruby library for pagination of practically anything!