Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Add `keep_trailing_newline` to configure final endline stripping #170
This option defaults to False for compatibility with the existing behaviour.
On 2011-02-28, Armin Ronacher wrote:
Here's the flag, all done up with a bow and a unittest ;).
referenced this pull request
Jan 13, 2013
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
Is it intentional/expected that
For example, I have a template file that has a trailing newline:
When it gets rendered, the newline is removed:
When rendering with
But if I pass