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:
parent
3623f2c688
commit
fbbe87d965
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue