defunkt/pystache

Partials and trailing newlines

cunger opened this issue · 0 comments

Many editors cause the last character of a file to be a newline, which causes an unwanted line break after a partial. See Issue #61 of mustache/spec. Since the editor behavior is usually hard to change, this trailing newline character should be chomped before rendering.