Skip to content
Myr

clarify lstrip_blocks option

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Kristi Tsukida · committed by Kristi Tsukida · parent 214bb36 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:jinja2/environment.py+1 added-1 removed
134 unmodified lines
135 removed (block, not variable tag!). Defaults to `False`.136137 `lstrip_blocks`138 If this is set to ``True`` leading spaces and tabs are stripped139 from a block if the block starts the line. Defaults to `False`.139 from the start of a line to a block. Defaults to `False`.140141 `newline_sequence`142 The sequence that starts a newline. Must be one of ``'\r'``,143 ``'\n'`` or ``'\r\n'``. The default is ``'\n'`` which is a
987 unmodified lines