1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-20 15:31:12 +00:00

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
This commit is contained in:
Toshi MARUYAMA 2020-10-28 14:43:21 +00:00
parent 98f901cac7
commit 385ac98c9d

View File

@ -57,6 +57,7 @@ module Redmine
if hash.present? && hash != Digest::MD5.hexdigest(t[1]) if hash.present? && hash != Digest::MD5.hexdigest(t[1])
raise Redmine::WikiFormatting::StaleSectionError raise Redmine::WikiFormatting::StaleSectionError
end end
t[1] = update unless t[1].blank? t[1] = update unless t[1].blank?
t.reject(&:blank?).join "\n\n" t.reject(&:blank?).join "\n\n"
end end