mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2025-08-01 03:59:51 +00:00
修复拼写错误,但未修复Linux ssl错误
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user