pystache icon indicating copy to clipboard operation
pystache copied to clipboard

Partials and trailing newlines

Open cunger opened this issue 13 years ago • 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.

cunger avatar Jan 09 '13 18:01 cunger