Skip to content

JS: Template strings: Increased bracket count of interpolations#1845

Merged
RunDevelopment merged 4 commits intoPrismJS:masterfrom
RunDevelopment:js-template-strings-interpolation-bracket-depth
Apr 19, 2019
Merged

JS: Template strings: Increased bracket count of interpolations#1845
RunDevelopment merged 4 commits intoPrismJS:masterfrom
RunDevelopment:js-template-strings-interpolation-bracket-depth

Conversation

@RunDevelopment
Copy link
Member

@RunDevelopment RunDevelopment commented Mar 29, 2019

This PR increases the number of braces counted by the template string interpolation pattern.

This fixes the highlighting error pointed out by @xAlien95.

Before

image

After

image

@RunDevelopment RunDevelopment merged commit c13d6e7 into PrismJS:master Apr 19, 2019
@RunDevelopment RunDevelopment deleted the js-template-strings-interpolation-bracket-depth branch April 19, 2019 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant