Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

mark prev/next page labels as `html_safe!`

closes #19
  • Loading branch information...
commit fc997e103bbf787e621b181beb70f0fb6c2929b4 1 parent 92ef3a6
@mislav mislav authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/will_paginate/view_helpers.rb
View
1  lib/will_paginate/view_helpers.rb
@@ -298,6 +298,7 @@ def visible_page_numbers
def page_link_or_span(page, span_class, text = nil)
text ||= page.to_s
+ text.html_safe! if text.respond_to? :html_safe!
if page and page != current_page
classnames = span_class && span_class.index(' ') && span_class.split(' ', 2).last
Please sign in to comment.
Something went wrong with that request. Please try again.