From 2e482eca6d6c608dc9702416f524688ec83d96db Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Sat, 20 Jul 2024 11:29:44 +0200 Subject: [PATCH] refac --- src/lib/utils/index.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib/utils/index.ts b/src/lib/utils/index.ts index 860bb92cf..8d8b5c557 100644 --- a/src/lib/utils/index.ts +++ b/src/lib/utils/index.ts @@ -11,8 +11,6 @@ const convertLatexToSingleLine = (content) => { const patterns = [ /(\$\$[\s\S]*?\$\$)/g, // Match $$ ... $$ /(\\[\s\S]*?\\])/g, // Match \[ ... \] - /(\$\[\s\S]*?\$\])/g, // Match $\[ ... \]$ - /(\$\(\s\S]*?\$\))/g, // Match $\( ... \)$ /(\\begin\{[a-z]+\}[\s\S]*?\\end\{[a-z]+\})/g // Match \begin{...} ... \end{...} ];