]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-7424 Fix SSF-40 & SSF-41
authorStas Vilchik <vilchiks@gmail.com>
Thu, 10 Mar 2016 09:13:17 +0000 (10:13 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Thu, 10 Mar 2016 09:25:37 +0000 (10:25 +0100)
server/sonar-web/src/main/webapp/WEB-INF/app/views/comparison/index.html.erb

index b94f313facab2aa28658b2ba9509c4d283d0c033..540fd047a6e294fdf53124529e7f7e3950d71264 100644 (file)
                 <span class="no-transform">
                   <a href="/dashboard/index/<%= s.resource.key -%>"><%= h s.resource.name(true) -%></a>
                   <br/>
-                  <span class="note"><b><%= event ? event.name : message('comparison.version.latest') -%></b></span>
+                  <span class="note"><b><%= event ? h(event.name) : message('comparison.version.latest') -%></b></span>
                   <br/>
                   <span class="note"><%= human_short_date s.created_at -%></span>
                 </span>