Fixed that formatting of commit message is never applied (#26445).

git-svn-id: http://svn.redmine.org/redmine/trunk@16823 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2017-07-16 18:02:38 +00:00
parent ce4efb98d6
commit a7e88dca7d
2 changed files with 9 additions and 1 deletions

View File

@@ -651,7 +651,7 @@ module ApplicationHelper
if options[:formatting] == false
text = h(text)
else
formatting = options[:formatting] || Setting.text_formatting
formatting = Setting.text_formatting
text = Redmine::WikiFormatting.to_html(formatting, text, :object => obj, :attribute => attr)
end