Skip to content

Commit

Permalink
Merge pull request #507 from refinery/indentation-fix
Browse files Browse the repository at this point in the history
Fix indentation
  • Loading branch information
bricesanchez authored Mar 18, 2019
2 parents 45c2808 + c8658a4 commit 684036e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/helpers/refinery/blog/posts_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 684036e

Please sign in to comment.