Blurb divider now three or more asterisks.

This commit is contained in:
Chris Palmer 2020-12-29 21:42:05 +00:00
parent 816adb07e7
commit 4ea0883965

View File

@ -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'