handlebars-rust
handlebars-rust copied to clipboard
fix: indent for partials contain block
Fixes #573
Our previous implementation of partial indent assumes the partial has only RawString
or Expression
so that we can check line endings easier. But with blocks included in partial, it doesn't work for lack of information about last line of the partial.
This patch is seeking a solution for that