From f8c8033ea2154845bc80f28360d3138be52b2b6b Mon Sep 17 00:00:00 2001 From: Liam Fitzgerald Date: Wed, 19 May 2021 14:37:38 +1000 Subject: [PATCH] GraphContent: support strikethrough --- .../views/landscape/components/Graph/GraphContent.tsx | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pkg/interface/src/views/landscape/components/Graph/GraphContent.tsx b/pkg/interface/src/views/landscape/components/Graph/GraphContent.tsx index b11f94f372..81c9d67da5 100644 --- a/pkg/interface/src/views/landscape/components/Graph/GraphContent.tsx +++ b/pkg/interface/src/views/landscape/components/Graph/GraphContent.tsx @@ -260,14 +260,13 @@ const renderers = { ); }, strong: ({ children }) => { - return ( - {children} - ); + return {children}; }, emphasis: ({ children }) => { - return ( - {children} - ); + return {children}; + }, + delete: ({ children }) => { + return {children}; }, blockquote: ({ children, depth, tall, ...rest }) => { if (depth > 1) {