mirror of
https://github.com/DJSundog/NopSCADlib.git
synced 2024-11-23 15:23:51 -05:00
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
Block a user