2.1.0 Uncontrolled Space
Added
parseWithoutProcessing()method.
Changed
- Optimized whitespace control and lexer position advancement.
- Removed underscore from
PathExpression::this_to align with the Handlebars.js AST.
Fixed
- Close tag indentation wasn't consistently stripped from chained
{{else if}}branches of a standalone block. - Tilde whitespace control in one
{{~else if}}branch unexpectedly leaked onto unrelated branches.
Both of the above issues stemmed from bugs in the Handlebars.js parser, and I opened PR handlebars-lang/handlebars-parser#31 to also fix them there.