Timothy J. Baek 9 月之前
父節點
當前提交
2e482eca6d
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      src/lib/utils/index.ts

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