diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-10-28 14:43:21 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-10-28 14:43:21 +0000 |
commit | 385ac98c9db83a492f072bc8faf8972df0efb32e (patch) | |
tree | 5442b3fcea3011790292b7fe057d5b959c50c3c6 /lib | |
parent | 98f901cac7b7c6d0aeb66d62bd03e6ac05d26932 (diff) | |
download | redmine-385ac98c9db83a492f072bc8faf8972df0efb32e.tar.gz redmine-385ac98c9db83a492f072bc8faf8972df0efb32e.zip |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/redmine/wiki_formatting/textile/formatter.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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 |