Skip to content

Commit 75ca9e4

Browse files
authored
fix(theme): copy button has wrong tag closing syntax (#816)
1 parent 1f1e298 commit 75ca9e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node/markdown/plugins/preWrapper.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ export const preWrapperPlugin = (md: MarkdownIt) => {
1515
const [tokens, idx] = args
1616
const token = tokens[idx]
1717
const rawCode = fence(...args)
18-
return `<div class="language-${token.info.trim()}"><span class="copy" />${rawCode}</div>`
18+
return `<div class="language-${token.info.trim()}"><span class="copy"></span>${rawCode}</div>`
1919
}
2020
}

0 commit comments

Comments
 (0)