mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
refac
This commit is contained in:
parent
fdea1afc7f
commit
2e482eca6d
1 changed files with 0 additions and 2 deletions
|
|
@ -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{...}
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue