summaryrefslogtreecommitdiffstats
path: root/app/helpers/issues_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/issues_helper.rb')
-rw-r--r--app/helpers/issues_helper.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb
index 93bd6c050..d73258939 100644
--- a/app/helpers/issues_helper.rb
+++ b/app/helpers/issues_helper.rb
@@ -56,9 +56,9 @@ module IssuesHelper
unless no_html
label = content_tag('strong', label)
- old_value = content_tag("i", old_value) if old_value
- old_value = content_tag("strike", old_value) if old_value and !value
- value = content_tag("i", value) if value
+ old_value = content_tag("i", h(old_value)) if old_value
+ old_value = content_tag("strike", h(old_value)) if old_value and !value
+ value = content_tag("i", h(value)) if value
end
if value