From e777b7334943e6d16e71750c1da1beb536bb153a Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Tue, 23 Jul 2024 19:04:19 -0700 Subject: [PATCH] UI: prevent LaTeX from being rendered for inline "$" --- js/main.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/js/main.js b/js/main.js index bdbb7cef..3b8b13e4 100644 --- a/js/main.js +++ b/js/main.js @@ -213,12 +213,10 @@ function doSyntaxHighlighting() { renderMathInElement(element, { delimiters: [ { left: "$$", right: "$$", display: true }, - { left: "$", right: "$", display: false }, { left: "\\(", right: "\\)", display: false }, { left: "\\[", right: "\\]", display: true }, ], }); - }); observer.observe(targetElement, config);