Merge pull request #411 from ollama-webui/latex-render-fix

fix: latex render
This commit is contained in:
Timothy Jaeryang Baek 2024-01-06 21:31:47 -08:00 committed by GitHub
commit ed1d9e6111
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -285,7 +285,7 @@
</div>
</div>
{:else}
{@html marked(message.content.replace('\\\\', '\\\\\\'))}
{@html marked(message.content.replaceAll('\\', '\\\\'))}
{/if}
{#if message.done}