nedbat / scriv

Changelog management tool
https://scriv.readthedocs.io
Apache License 2.0
256 stars 28 forks source link

fix: don't strip trailing newlines when rendering fragment templates #119

Open SpecLad opened 9 months ago

SpecLad commented 9 months ago

If a fragment template ends with a newline, then created fragments should end with one too.

The keep_trailing_newline parameter was added in Jinja 2.7, so update the dependency.

Fixes #108.