mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-04 22:34:52 +00:00
Yet another markdown pattern fix
This commit is contained in:
parent
4553bdda5e
commit
a0e3ab4199
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ class Markdown:
|
||||||
CODE_DELIMITER = "`"
|
CODE_DELIMITER = "`"
|
||||||
PRE_DELIMITER = "```"
|
PRE_DELIMITER = "```"
|
||||||
|
|
||||||
MARKDOWN_RE = re.compile(r"```([\w ]*)\n([\w\W]*)(?:\n|)```|\[(.+)\]\((.+)\)|({d})(.+?)\5".format(
|
MARKDOWN_RE = re.compile(r"```([\w ]*)\n([\w\W]*)(?:\n|)```|\[(.+?)\]\((.+?)\)|({d})(.+?)\5".format(
|
||||||
d="|".join(
|
d="|".join(
|
||||||
["".join(i) for i in [
|
["".join(i) for i in [
|
||||||
["\{}".format(j) for j in i]
|
["\{}".format(j) for j in i]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue