1
0
Fork 0
mirror of https://github.com/kaminari/kaminari.git synced 2022-11-09 13:44:37 -05:00

do not insert an LF when joining

because the extra LF will break the HTML design in some cases
This commit is contained in:
Akira Matsuda 2011-02-10 05:09:50 +09:00
parent 3623f2c688
commit fbbe87d965

View file

@ -93,7 +93,7 @@ module Kaminari
def to_s
suppress_logging_render_partial do
clear_content_for :kaminari_paginator_tags
@template.content_for :kaminari_paginator_tags, tagify_links.join("\n").html_safe
@template.content_for :kaminari_paginator_tags, tagify_links.join.html_safe
Paginator.new(self).to_s
end
end