diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-07-15 15:54:17 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-07-15 15:54:17 +0200 |
commit | d6ca372cb5ef7410041313c622d1ac7fe94b59d1 (patch) | |
tree | b20379d87ba93b9a1b88e345ffdae5c68892c386 /sonar-batch | |
parent | 92abc2254d331891406f31b884760a1cd5326cfc (diff) | |
parent | 05087385ee6a3e032febe5f5f3033aa13a534147 (diff) | |
download | sonarqube-d6ca372cb5ef7410041313c622d1ac7fe94b59d1.tar.gz sonarqube-d6ca372cb5ef7410041313c622d1ac7fe94b59d1.zip |
Merge remote-tracking branch 'origin/branch-5.1'
Diffstat (limited to 'sonar-batch')
-rw-r--r-- | sonar-batch/src/main/resources/org/sonar/batch/scan/report/issuesreport.ftl | 10 |
1 files 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 @@ <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> - <title>Issues report of ${report.getTitle()}</title> + <title>Issues report of ${report.getTitle()?html}</title> <link href="issuesreport_files/sonar.css" media="all" rel="stylesheet" type="text/css"> <link rel="shortcut icon" type="image/x-icon" href="issuesreport_files/favicon.ico"> <script type="text/javascript" src="issuesreport_files/jquery.min.js"></script> @@ -20,7 +20,7 @@ <#if resourceReport_has_next>,</#if> </#list> ]; - var nbResources = ${report.getResourcesWithReport()?size}; + var nbResources = ${report.getResourcesWithReport()?size?c}; var separators = new Array(); function showLine(fileIndex, lineId) { @@ -165,7 +165,7 @@ <div id="reportHeader"> <div id="logo"><img src="issuesreport_files/sonarqube-24x100.png" alt="SonarQube"/></div> <div class="title">Issues Report</div> - <div class="subtitle">${report.getTitle()} - ${report.getDate()?datetime}</div> + <div class="subtitle">${report.getTitle()?html} - ${report.getDate()?datetime}</div> </div> <#if report.isNoFile()> @@ -366,7 +366,7 @@ <div class="vtitle"> <i class="icon-severity-${issue.severity()?lower_case}"></i> <#if issue.message()??> - <span class="rulename">${issue.message()}</span> + <span class="rulename">${issue.message()?html}</span> <#else> <span class="rulename">${ruleNameProvider.nameForHTML(issue.ruleKey())}</span> </#if> @@ -415,7 +415,7 @@ <div class="vtitle"> <i class="icon-severity-${issue.severity()?lower_case}"></i> <#if issue.message()??> - <span class="rulename">${issue.message()}</span> + <span class="rulename">${issue.message()?html}</span> <#else> <span class="rulename">${ruleNameProvider.nameForHTML(issue.ruleKey())}</span> </#if> |