From 05087385ee6a3e032febe5f5f3033aa13a534147 Mon Sep 17 00:00:00 2001 From: Julien HENRY Date: Wed, 15 Jul 2015 15:01:21 +0200 Subject: [PATCH] SONAR-6685, SONAR-6351 Fix syntax issue when generating HTML report --- .../org/sonar/batch/scan/report/issuesreport.ftl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sonar-batch/src/main/resources/org/sonar/batch/scan/report/issuesreport.ftl b/sonar-batch/src/main/resources/org/sonar/batch/scan/report/issuesreport.ftl index 86ba1631eaa..3c5827f43e8 100644 --- a/sonar-batch/src/main/resources/org/sonar/batch/scan/report/issuesreport.ftl +++ b/sonar-batch/src/main/resources/org/sonar/batch/scan/report/issuesreport.ftl @@ -2,7 +2,7 @@ - Issues report of ${report.getTitle()} + Issues report of ${report.getTitle()?html} @@ -20,7 +20,7 @@ <#if resourceReport_has_next>, ]; - var nbResources = ${report.getResourcesWithReport()?size}; + var nbResources = ${report.getResourcesWithReport()?size?c}; var separators = new Array(); function showLine(fileIndex, lineId) { @@ -165,7 +165,7 @@
Issues Report
-
${report.getTitle()} - ${report.getDate()?datetime}
+
${report.getTitle()?html} - ${report.getDate()?datetime}
<#if report.isNoFile()> @@ -366,7 +366,7 @@
<#if issue.message()??> - ${issue.message()} + ${issue.message()?html} <#else> ${ruleNameProvider.nameForHTML(issue.ruleKey())} @@ -415,7 +415,7 @@
<#if issue.message()??> - ${issue.message()} + ${issue.message()?html} <#else> ${ruleNameProvider.nameForHTML(issue.ruleKey())} -- 2.39.5