forked from Mirrors/apostrophe
fix math REGEX expression
parent
cb3da0331e
commit
c8ea808623
|
@ -29,7 +29,7 @@ CODE_BLOCK = re.compile(
|
|||
TABLE = re.compile(
|
||||
r"^[\-+]{5,}\n(?P<text>.+?)\n[\-+]{5,}\n", re.S)
|
||||
MATH = re.compile(
|
||||
r"([$]{1,2})[^` ](?P<text>.+?)[^`\\ ]\1")
|
||||
r"([$]{1,2})(?P<text>[^` ].+?[^`\\ ])\1")
|
||||
FOOTNOTE_ID = re.compile(
|
||||
r"[^\s]+\[\^(?P<id>(?P<text>[^\s]+))\]")
|
||||
FOOTNOTE = re.compile(
|
||||
|
|
Loading…
Reference in New Issue