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."""
|
""" Split blurb on horizontal rules."""
|
||||||
blurbs = [""]
|
blurbs = [""]
|
||||||
for line in lines.split('\n')[:-1]:
|
for line in lines.split('\n')[:-1]:
|
||||||
if line == "***":
|
if re.match(r'\*\*\*\**',line):
|
||||||
blurbs.append("")
|
blurbs.append("")
|
||||||
else:
|
else:
|
||||||
blurbs[-1] += line + '\n'
|
blurbs[-1] += line + '\n'
|
||||||
|
|
Loading…
Reference in New Issue