Skip to content

Curly braces parser greediness #1114

@gcx-seb

Description

@gcx-seb

A simple template like {{value}}} fails compilation:

com.github.jknack.handlebars.HandlebarsException: inline@481dc12c:1:7: found: '}}}', expected: '}}'
{{value}}}

I'm wondering if that is expected behaviour? Because I'd expect that in the output the extra } at the last position is simply kept as-is.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions