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

Throw properly on open ignore block instead of crashing #569

Merged
merged 3 commits into from
Apr 1, 2024

Conversation

Hoeksema
Copy link
Contributor

Closes #568

Resolve the hang on compile when there is an open ignore block

Reshuffle the logic so that the throw check for end of template is done before trying to process the char

@Hoeksema Hoeksema marked this pull request as ready for review February 15, 2024 16:21
Copy link

sonarcloud bot commented Feb 15, 2024

Copy link

sonarcloud bot commented Apr 1, 2024

@oformaniuk oformaniuk merged commit dd9c16f into Handlebars-Net:master Apr 1, 2024
7 checks passed
@oformaniuk oformaniuk added the bug label Apr 1, 2024
@Hoeksema Hoeksema deleted the patch-2 branch April 1, 2024 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Open escape bracket causes compile call to hang forever and run out of memory
2 participants