Blurb divider now three or more asterisks.
This commit is contained in:
parent
816adb07e7
commit
4ea0883965
|
@ -51,7 +51,7 @@ def split_blurb(lines):
|
|||
""" Split blurb on horizontal rules."""
|
||||
blurbs = [""]
|
||||
for line in lines.split('\n')[:-1]:
|
||||
if line == "***":
|
||||
if re.match(r'\*\*\*\**',line):
|
||||
blurbs.append("")
|
||||
else:
|
||||
blurbs[-1] += line + '\n'
|
||||
|
|
Loading…
Reference in New Issue