From fbbe87d96596a29631dadda2082e80396e8610e5 Mon Sep 17 00:00:00 2001 From: Akira Matsuda Date: Thu, 10 Feb 2011 05:09:50 +0900 Subject: [PATCH] do not insert an LF when joining because the extra LF will break the HTML design in some cases --- lib/kaminari/helpers.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/kaminari/helpers.rb b/lib/kaminari/helpers.rb index 0ba47dd..3d7b98b 100644 --- a/lib/kaminari/helpers.rb +++ b/lib/kaminari/helpers.rb @@ -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