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 nested quotes and brackets #29

Merged
merged 2 commits into from
Nov 21, 2024
Merged

Conversation

deathaxe
Copy link
Member

Resolves #28

This PR includes JavaScript expression instead of embedding it
in order to maintain context stack and enable nested quotes and brackets
without terminating script context too early.

This increases compiled syntax cache from 37kB to 170kB but it is still
within sane values.

deathaxe added 2 commits November 21, 2024 17:52
resolves vuejs/vue-syntax-highlight#220

This commit includes JavaScript expression instead of embedding it
in order to maintain context stack and enable nested quotes and brackets
without terminating script context too early.

This increases compiled syntax cache from 37kB to 170kB but it is still
within sane values.
It causes whole attribute name part not being addressable anymore
if dynamic parameters are present.
@deathaxe deathaxe merged commit cb5c0ce into st4107 Nov 21, 2024
8 checks passed
@deathaxe deathaxe deleted the fix/nested-quotes-and-brackets branch November 21, 2024 19:33
@FichteFoll FichteFoll added this to the 4.2.0 milestone Nov 22, 2024
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.

2 participants