lib/paginate/renderer.rb in paginate-0.1.3 vs lib/paginate/renderer.rb in paginate-1.0.0
- old
+ new
@@ -65,13 +65,9 @@
html << %[<li class="next-page disabled"><span title="#{next_label}">#{next_label}</span></li>]
end
html << %[</ul>]
- if html.respond_to?(:html_safe)
- html.html_safe
- else
- html
- end
+ html.html_safe
end
end
end