]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-3550 Some characters are badly displayed in the Violation dropdown
authorDavid Gageot <david@gageot.net>
Thu, 14 Jun 2012 16:25:39 +0000 (18:25 +0200)
committerDavid Gageot <david@gageot.net>
Thu, 14 Jun 2012 16:25:39 +0000 (18:25 +0200)
This is because the label is escaped twice

sonar-server/src/main/webapp/WEB-INF/app/views/resource/_rules_filter.html.erb

index 16d48b93d07695c2f611019f5beedb1472a99e14..1210af3824b8b9931ef72704900eb907c086a2a2 100644 (file)
@@ -37,7 +37,7 @@
 
    rule_options=[]
    rule_counts.keys.sort.each do |rule|
-     label = "#{rule.name} (#{rule_counts[rule]})"
+     label = "#{rule.name} (#{rule_counts[rule]})"
      rule_options<<[label, rule.id]
    end
 %>