From 033618c46e40c4125f4ad23a65079270495268fe Mon Sep 17 00:00:00 2001 From: Michael Lange Date: Tue, 4 Aug 2020 23:01:56 -0700 Subject: [PATCH] Safestr the annotation style property --- ui/app/components/line-chart.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/app/components/line-chart.js b/ui/app/components/line-chart.js index 72cb9a54c..f3bd52fe5 100644 --- a/ui/app/components/line-chart.js +++ b/ui/app/components/line-chart.js @@ -306,7 +306,7 @@ export default class LineChart extends Component.extend(WindowResizable) { prevX = x; return { annotation, - style: `transform:translate(${x}px,${y}px)`, + style: `transform:translate(${x}px,${y}px)`.htmlSafe(), icon: iconFor[annotation.type], iconClass: iconClassFor[annotation.type], staggerClass: prevHigh ? 'is-staggered' : '',