From d427d8e5675ca21da25f8fefce6b8c2156f3b3d8 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 8 Apr 2012 19:29:26 +0000 Subject: [PATCH] Reverted r9368. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9370 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/issues_helper.rb | 7 +------ 1 file changed, 1 insertion(+), 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? -- 2.39.5