修复拼写错误,但未修复Linux ssl错误

This commit is contained in:
2024-12-02 01:45:11 +08:00
parent f7932ec1fc
commit 4b12424221
4 changed files with 10 additions and 7 deletions

View File

@ -42,7 +42,7 @@ CODE_BLOCK_PATTERN = re.compile(r"```(.*?)```|`(.*?)`", re.DOTALL)
IMG_LATEX_PATTERN = re.compile(
(
r"(!\[[^\]]*\]\([^()]*\))|(\\begin\{equation\}.*?\\end\{equation\}|\$.*?\$|\$\$.*?\$\$|\\\[.*?\\\]|\\\(.*?\\\))"
if config.marshoai_single_latex_prase
if config.marshoai_single_latex_parse
else r"(!\[[^\]]*\]\([^()]*\))|(\\begin\{equation\}.*?\\end\{equation\}|\$\$.*?\$\$|\\\[.*?\\\])"
),
re.DOTALL,