forked from Mirrors/apostrophe
fix top/bottom rules
parent
41378d55e1
commit
68bcc1206b
|
@ -19,7 +19,7 @@ LINK_ALT = re.compile(
|
|||
IMAGE = re.compile(
|
||||
r"!\[(?P<text>.*)\]\((?P<url>.+?)(?: \"(?P<title>.+)\")?\)")
|
||||
HORIZONTAL_RULE = re.compile(
|
||||
r"(?:\n\n)(?P<symbols> {0,3}[*\-_]{3,} *)(?:\n\n+)")
|
||||
r"(?:^|\n{2,})(?P<symbols> {0,3}[*\-_]{3,} *)(?:\n{2,}|$)")
|
||||
LIST = re.compile(
|
||||
r"(?:^|\n)(?P<content>(?P<indent>(?:\t| {4})*)[\-*+]( +)(?P<text>.+(?:\n+ \2.+)*))")
|
||||
ORDERED_LIST = re.compile(
|
||||
|
|
Loading…
Reference in New Issue