Don't ignore blank lines before a 'start ignoring' directive.
This commit is contained in:
parent
3908c56233
commit
c75c529de8
1 changed files with 3 additions and 0 deletions
|
@ -84,6 +84,9 @@ def reindent(name, infp, outfp):
|
|||
# Implement passthrough mode
|
||||
if "wmlindent: start ignoring" in line:
|
||||
ignoring = True
|
||||
if countblanks > 0:
|
||||
countblanks = 0
|
||||
outfp.write("\n")
|
||||
outfp.write(line)
|
||||
continue
|
||||
elif ignoring:
|
||||
|
|
Loading…
Add table
Reference in a new issue