From c8658a4468641b0b40566511f9dc240ad63c8d84 Mon Sep 17 00:00:00 2001 From: Philip Arndt Date: Fri, 15 Mar 2019 16:24:11 +1300 Subject: [PATCH] Fix indentation For some reason this was out by 1 space. --- app/helpers/refinery/blog/posts_helper.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/helpers/refinery/blog/posts_helper.rb b/app/helpers/refinery/blog/posts_helper.rb index 2daa5f6a..926b27a7 100644 --- a/app/helpers/refinery/blog/posts_helper.rb +++ b/app/helpers/refinery/blog/posts_helper.rb @@ -11,11 +11,11 @@ def blog_post_teaser_enabled? def blog_post_teaser(post) if post.respond_to?(:custom_teaser) && post.custom_teaser.present? - post.custom_teaser.html_safe + post.custom_teaser.html_safe else - truncate(post.body, { - :length => Refinery::Blog.post_teaser_length, - :preserve_html_tags => true + truncate(post.body, { + :length => Refinery::Blog.post_teaser_length, + :preserve_html_tags => true }).html_safe end end