]> source.dussan.org Git - redmine.git/commitdiff
Reverted r9368.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 8 Apr 2012 19:29:26 +0000 (19:29 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 8 Apr 2012 19:29:26 +0000 (19:29 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9370 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/issues_helper.rb

index 0346fdbe37297a9f80d1fbcdca8e6e85d3516a70..a9cf065e9584305601432fcd4f73259b48a78950 100644 (file)
@@ -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?