Fix bulleting around mock quotations
This commit is contained in:
parent
1fc7fe6e90
commit
5f848df8a1
1 changed files with 2 additions and 2 deletions
|
@ -34,12 +34,12 @@ def rewrite_file(filepath):
|
|||
# w.write("type:: postable-draft\n")
|
||||
if (i > 5 and line == "\"\"\"\n"):
|
||||
if (in_block == False):
|
||||
# Start our self-styled quotation block with a bullet.
|
||||
line = "- " + line
|
||||
in_block = True
|
||||
else:
|
||||
in_block = False
|
||||
# Close our self-styled quotation block without a bullet.
|
||||
w.write(line)
|
||||
continue
|
||||
elif (i > 5 and in_block == False):
|
||||
test = line.strip()
|
||||
if (test == ""):
|
||||
|
|
Loading…
Reference in a new issue