From 75ca9e4302c65e3bcc9518f7df928318380f6cf6 Mon Sep 17 00:00:00 2001 From: Shinigami Date: Mon, 20 Jun 2022 07:25:40 +0200 Subject: [PATCH] fix(theme): copy button has wrong tag closing syntax (#816) --- src/node/markdown/plugins/preWrapper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/markdown/plugins/preWrapper.ts b/src/node/markdown/plugins/preWrapper.ts index 9a23b79795d7..ced0ef56580a 100644 --- a/src/node/markdown/plugins/preWrapper.ts +++ b/src/node/markdown/plugins/preWrapper.ts @@ -15,6 +15,6 @@ export const preWrapperPlugin = (md: MarkdownIt) => { const [tokens, idx] = args const token = tokens[idx] const rawCode = fence(...args) - return `
${rawCode}
` + return `
${rawCode}
` } }