From: Toshi MARUYAMA Date: Wed, 28 Oct 2020 14:43:21 +0000 (+0000) Subject: add empty line after guard clause to lib/redmine/wiki_formatting/textile/formatter.rb X-Git-Tag: 4.2.0~590 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=385ac98c9db83a492f072bc8faf8972df0efb32e;p=redmine.git add empty line after guard clause to lib/redmine/wiki_formatting/textile/formatter.rb git-svn-id: http://svn.redmine.org/redmine/trunk@20227 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/lib/redmine/wiki_formatting/textile/formatter.rb b/lib/redmine/wiki_formatting/textile/formatter.rb index 71f7b331d..d52c2b8be 100644 --- a/lib/redmine/wiki_formatting/textile/formatter.rb +++ b/lib/redmine/wiki_formatting/textile/formatter.rb @@ -57,6 +57,7 @@ module Redmine if hash.present? && hash != Digest::MD5.hexdigest(t[1]) raise Redmine::WikiFormatting::StaleSectionError end + t[1] = update unless t[1].blank? t.reject(&:blank?).join "\n\n" end