fix lint and test failures

This commit is contained in:
wizardchen
2026-07-01 16:55:30 +08:00
committed by lyingbug
parent 4c962a9403
commit 8d40959f88
48 changed files with 301 additions and 104 deletions
@@ -414,7 +414,7 @@ const previewHTML = computed(() => {
return `<p class="empty-preview">${t('manualEditor.preview.empty')}</p>`
}
const safeMarkdown = safeMarkdownToHTML(form.content)
const html = marked.parse(safeMarkdown)
const html = marked.parse(safeMarkdown, { async: false })
return sanitizeHTML(html)
})