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

Handle trailing note without end #1129

Merged
merged 1 commit into from
Nov 8, 2023

Conversation

jasmith-hs
Copy link
Contributor

Avoids a StringIndexOutOfBoundsException when a template ends in {# by checking that the note length is greater than 4. This is a very quick way to check it because I'm not trying to introduce any performance degradation in the processing of notes (aka comments).

@jasmith-hs jasmith-hs merged commit 45d9375 into master Nov 8, 2023
4 checks passed
@jasmith-hs jasmith-hs deleted the legacy-override-for-whitespace-control branch November 8, 2023 15:13
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

Successfully merging this pull request may close these issues.

1 participant