Use lstrip_blocks jinja option.
From jinja doc:
If this is set to True leading spaces and tabs are stripped from the start
of a line to a block
This commit is contained in:
@@ -74,6 +74,7 @@ class Writer(object):
|
||||
PrefixLoader({'!default': default_loader}) # explicit one
|
||||
]),
|
||||
trim_blocks=True,
|
||||
lstrip_blocks=True
|
||||
)
|
||||
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user