Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Curly braces parser greediness #1114

Open
gcx-seb opened this issue Mar 22, 2024 · 0 comments
Open

Curly braces parser greediness #1114

gcx-seb opened this issue Mar 22, 2024 · 0 comments

Comments

@gcx-seb
Copy link

gcx-seb commented Mar 22, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant