Timothy J. Baek 9 kuukautta sitten
vanhempi
commit
2e482eca6d
1 muutettua tiedostoa jossa 0 lisäystä ja 2 poistoa
  1. 0 2
      src/lib/utils/index.ts

+ 0 - 2
src/lib/utils/index.ts

@@ -11,8 +11,6 @@ const convertLatexToSingleLine = (content) => {
 	const patterns = [
 	const patterns = [
 		/(\$\$[\s\S]*?\$\$)/g, // Match $$ ... $$
 		/(\$\$[\s\S]*?\$\$)/g, // Match $$ ... $$
 		/(\\[\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{...}
 		/(\\begin\{[a-z]+\}[\s\S]*?\\end\{[a-z]+\})/g // Match \begin{...} ... \end{...}
 	];
 	];