fix: visible backtick in codespan

This commit is contained in:
Timothy J. Baek 2024-08-16 15:37:11 +02:00
parent 4ef042e966
commit 769df698be

View File

@ -34,7 +34,7 @@
<svelte:self id={`${id}-em`} tokens={token.tokens} /> <svelte:self id={`${id}-em`} tokens={token.tokens} />
</em> </em>
{:else if token.type === 'codespan'} {:else if token.type === 'codespan'}
<code class="codespan">{revertSanitizedResponseContent(token.raw)}</code> <code class="codespan">{token.text}</code>
{:else if token.type === 'br'} {:else if token.type === 'br'}
<br /> <br />
{:else if token.type === 'del'} {:else if token.type === 'del'}