From 4cdcf12a1c5d656272e02973f901c3082f555c48 Mon Sep 17 00:00:00 2001 From: Larry Gregory Date: Thu, 1 Apr 2021 13:42:21 -0400 Subject: [PATCH] remove dangerouslySetInnerHtml --- .../data/common/field_formats/converters/source.tsx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/plugins/data/common/field_formats/converters/source.tsx b/src/plugins/data/common/field_formats/converters/source.tsx index 4590381179ad0..5ce7d5c8e1643 100644 --- a/src/plugins/data/common/field_formats/converters/source.tsx +++ b/src/plugins/data/common/field_formats/converters/source.tsx @@ -23,12 +23,8 @@ const TemplateComponent = ({ defPairs }: Props) => {
{defPairs.map((pair, idx) => ( -
-
{' '} +
{pair[0]}:
+
{pair[1]}
{' '}
))}