From cb04469a7c3c6890bcb1b775aac081840088ec4c Mon Sep 17 00:00:00 2001 From: Daniel Bachler Date: Fri, 6 Oct 2023 15:28:49 +0200 Subject: [PATCH] :bug: fix svg escape issue in slope charts --- packages/@ourworldindata/grapher/src/text/Text.tsx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/packages/@ourworldindata/grapher/src/text/Text.tsx b/packages/@ourworldindata/grapher/src/text/Text.tsx index 6e00bf95740..4adbe4688bd 100644 --- a/packages/@ourworldindata/grapher/src/text/Text.tsx +++ b/packages/@ourworldindata/grapher/src/text/Text.tsx @@ -22,11 +22,9 @@ export class Text extends React.Component { const y = this.props.y + bounds.height - bounds.height * 0.2 return ( - + + {this.props.children} + ) } }