scriv icon indicating copy to clipboard operation
scriv copied to clipboard

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

Open SpecLad opened this issue 2 years ago • 0 comments

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.

SpecLad avatar Dec 11 '23 01:12 SpecLad