fix: fix html svg

This commit is contained in:
purocean
2021-12-09 15:22:02 +08:00
parent 1b6ba9a595
commit 45fe27014e
+1 -1
View File
@@ -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) => {