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{...} ];