]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-5893 Fix wrapping of "title" attribute
authorJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>
Wed, 21 Jan 2015 15:50:37 +0000 (16:50 +0100)
committerJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>
Wed, 21 Jan 2015 15:50:42 +0000 (16:50 +0100)
server/sonar-web/src/main/coffee/widgets/tag-cloud.coffee

index 2b765a41d5ec08261449b75b75189dee0b378e8d..12a203df5bfb105ecf4b0a61b2fb2fd2d3f76012 100644 (file)
@@ -51,7 +51,7 @@ class TagCloud extends window.SonarWidgets.BaseWidget
   tooltip: (d) ->
     suffixKey = if d.value == 1 then 'issue' else 'issues'
     suffix = t(suffixKey)
-    "#{d.value} " + suffix
+    "#{d.value}\u00a0" + suffix
 
 
   parseSource: (response) ->