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

Fix SyntaxHighlighter delimiter state #15104

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

straight-shoota
Copy link
Member

The syntax highlighter needs to reset the previous delimiter_state after exiting a nested state.

Fixes https://forum.crystal-lang.org/t/question-about-the-crystal-syntax-highlighter/7283

@straight-shoota straight-shoota added kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:compiler:parser labels Oct 20, 2024
@straight-shoota straight-shoota self-assigned this Oct 20, 2024
@crysbot
Copy link

crysbot commented Oct 20, 2024

This pull request has been mentioned on Crystal Forum. There might be relevant details there:

https://forum.crystal-lang.org/t/question-about-the-crystal-syntax-highlighter/7283/5

@Blacksmoke16 Blacksmoke16 changed the title Fix SyntaxHihglighter delimiter state Fix SyntaxHighlighter delimiter state Oct 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:compiler:parser
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants