saltstack/salt — pull request #2773 by dekkers (2012-12-02 18:57:35+00:00)
Title: Preserve the final newline in Jinja templates

The fix of #503 (which is caused by mitsuhiko/jinja2#75) got removed with the implementation of render pipes (in fd1cb0219716e941fa2cf8d224a2f7818bcf3c1e to be exact). This adds the workaround back again, so jinja rendered configuration files don't lose their final newlines.