diff --git a/composables/content-parse.ts b/composables/content-parse.ts index 9c0baf92..ed008cbc 100644 --- a/composables/content-parse.ts +++ b/composables/content-parse.ts @@ -89,7 +89,7 @@ export function parseMastodonHTML( const code = htmlToText(raw) .replace(//g, '>') - .replace(/`/, '`') + .replace(/`/g, '`') const classes = lang ? ` class="language-${lang}"` : '' return `>
${code}
`
})