mirror of
https://github.com/redmine/redmine.git
synced 2026-03-09 22:20:55 +01:00
Adds double quotes around issue change details in plain text notifications (#10603).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9368 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -245,7 +245,12 @@ module IssuesHelper
|
||||
value ||= detail.value
|
||||
old_value ||= detail.old_value
|
||||
|
||||
unless no_html
|
||||
if no_html
|
||||
if value.present?
|
||||
old_value = "\"#{old_value}\"" if old_value.present?
|
||||
value = "\"#{value}\""
|
||||
end
|
||||
else
|
||||
label = content_tag('strong', label)
|
||||
old_value = content_tag("i", h(old_value)) if detail.old_value
|
||||
old_value = content_tag("strike", old_value) if detail.old_value and detail.value.blank?
|
||||
|
||||
Reference in New Issue
Block a user