From 2c030218f8f2e2872cbdaf2e1d70d1dee0bedd53 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Mon, 1 Apr 2024 19:25:47 -0700 Subject: [PATCH] fix: latex dollar sign issue --- src/lib/components/chat/Messages/ResponseMessage.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/chat/Messages/ResponseMessage.svelte b/src/lib/components/chat/Messages/ResponseMessage.svelte index 91bb35c4..58609a48 100644 --- a/src/lib/components/chat/Messages/ResponseMessage.svelte +++ b/src/lib/components/chat/Messages/ResponseMessage.svelte @@ -128,7 +128,7 @@ // • auto-render specific keys, e.g.: delimiters: [ { left: '$$', right: '$$', display: false }, - { left: '$', right: '$', display: false }, + { left: '$ ', right: ' $', display: false }, { left: '\\(', right: '\\)', display: false }, { left: '\\[', right: '\\]', display: false }, { left: '[ ', right: ' ]', display: false }