okay one more change

This commit is contained in:
JDJG Inc. Official 2021-10-27 09:12:26 -04:00
parent e9850566e8
commit 7331957ee4

View File

@ -702,8 +702,7 @@ def resolve_template(code: Union[Template, str]) -> str:
return code
_MARKDOWN_ESCAPE_SUBREGEX = "|".join(
r"\{0}(?=([\s\S]*((?<!\{0})\{0})))".format(c) for c in ("*", "`", "_", "~", "|"))
_MARKDOWN_ESCAPE_SUBREGEX = "|".join(r"\{0}(?=([\s\S]*((?<!\{0})\{0})))".format(c) for c in ("*", "`", "_", "~", "|"))
_MARKDOWN_ESCAPE_COMMON = r"^>(?:>>)?\s|\[.+\]\(.+\)"