From 155e663a44b581067bf118c1c52c0f79ea810996 Mon Sep 17 00:00:00 2001 From: Kamil Jarmusik Date: Mon, 25 Nov 2024 08:44:08 +0100 Subject: [PATCH] #3049 Fixed visible point name in legend report for escape characters: - Fixed Legend report; --- WebContent/WEB-INF/ftl/report/reportChart.ftl | 2 +- src/com/serotonin/mango/vo/report/SeriesIdentifier.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/WebContent/WEB-INF/ftl/report/reportChart.ftl b/WebContent/WEB-INF/ftl/report/reportChart.ftl index b5b565ff3..12f2a182e 100644 --- a/WebContent/WEB-INF/ftl/report/reportChart.ftl +++ b/WebContent/WEB-INF/ftl/report/reportChart.ftl @@ -121,7 +121,7 @@ - + diff --git a/src/com/serotonin/mango/vo/report/SeriesIdentifier.java b/src/com/serotonin/mango/vo/report/SeriesIdentifier.java index 6a5dda966..ae28bf260 100644 --- a/src/com/serotonin/mango/vo/report/SeriesIdentifier.java +++ b/src/com/serotonin/mango/vo/report/SeriesIdentifier.java @@ -38,6 +38,6 @@ public int hashCode() { @Override public String toString() { - return XssProtectHtmlEscapeUtils.escape(name); + return name; } }
${point.name}
${security.escapeHtml(point.name)}
<@fmt key="reports.dataType"/> ${point.dataTypeDescription}