From 385ac98c9db83a492f072bc8faf8972df0efb32e Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Wed, 28 Oct 2020 14:43:21 +0000 Subject: [PATCH] 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 --- lib/redmine/wiki_formatting/textile/formatter.rb | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.5