From 45fe27014efa894c06dd0b7c1978a8d6ea5f91f0 Mon Sep 17 00:00:00 2001 From: purocean Date: Thu, 9 Dec 2021 15:22:02 +0800 Subject: [PATCH] fix: fix html svg --- src/renderer/plugins/markdown-html.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/plugins/markdown-html.ts b/src/renderer/plugins/markdown-html.ts index 233f50b8..069a046e 100644 --- a/src/renderer/plugins/markdown-html.ts +++ b/src/renderer/plugins/markdown-html.ts @@ -50,7 +50,7 @@ function htmlInline (state: StateInline): boolean { const content = state.src.slice(pos, pos + match[0].length) - const tag = (match[1] || match[2] || match[3] || match[4] || '').toLowerCase() + const tag = (match[1] || match[2] || match[3] || match[4] || '') if (!tag) { return false } const setAttrs = (token: Token) => {