diff --git a/composables/content.ts b/composables/content.ts index c5241ff1..05909c3c 100644 --- a/composables/content.ts +++ b/composables/content.ts @@ -63,7 +63,7 @@ export function contentToVNode( .replace(/

(```|~~~)([\s\S]+?)\1(\s|)*<\/p>/g, (_1, _2, raw) => { const plain = htmlToText(`

${raw}

`).trim() const [lang, ...rest] = plain.split(/\n/) - return `` + return `` }) const tree = parseFragment(content)