From ecbf8a9ddba0a869997379ec72e0f4813ef3a2f3 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Thu, 10 Mar 2022 20:29:10 +0000 Subject: [PATCH] fix: only convert app links to `` --- packages/ui-templates/lib/render.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui-templates/lib/render.ts b/packages/ui-templates/lib/render.ts index 985107a291..371f74b448 100644 --- a/packages/ui-templates/lib/render.ts +++ b/packages/ui-templates/lib/render.ts @@ -77,7 +77,7 @@ export const RenderPlugin = () => { .match(/([\s\S]*)<\/body>/)?.[0] .replace(/(?<=<|<\/)body/g, 'div') .replace(/messages\./g, '') - .replace(/]*)>([\s\S]*)<\/a>/g, '$3') + .replace(/]*)>([\s\S]*)<\/a>/g, '$3') .replace(/>{{\s*([\s\S]+?)\s*}}<\/[\w-]*>/g, ' v-html="$1" />') // We are not matching