jinja templating should set keep_trailing_newline

Bug #1423599 reported by Adam Collard
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Charm Helpers
Confirmed
Undecided
Unassigned

Bug Description

At the moment templates rendered using Jinja2 will have trailing newline characters stripped. This behaviour is unexpected and undesirable, since it is used to render file formats for which trailing newlines are significant.

Tags: landscape
Dan Watkins (oddbloke)
Changed in charm-helpers:
status: New → Confirmed
Revision history for this message
Stuart Bishop (stub) wrote :

This flag is only available in Jinja2 2.7+, but the charm-helpers tests pin to 2.6 for compatibility with the Precise packages. We need to drop Precise support before we can proceed.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.