summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/helpers/issues_helper.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb
index 0346fdbe3..a9cf065e9 100644
--- a/app/helpers/issues_helper.rb
+++ b/app/helpers/issues_helper.rb
@@ -245,12 +245,7 @@ module IssuesHelper
value ||= detail.value
old_value ||= detail.old_value
- if no_html
- if value.present?
- old_value = "\"#{old_value}\"" if old_value.present?
- value = "\"#{value}\""
- end
- else
+ unless no_html
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?