vscode-twig-language-2 icon indicating copy to clipboard operation
vscode-twig-language-2 copied to clipboard

Syntax highlighting breaks when escaping quotes inside strings

Open hacknug opened this issue 6 years ago • 0 comments

Syntax highlighting is incorrect when using escaped quotes inside a string.

<p>{{ __( 'The page you are looking for doesn\'t exist', 'domain' ) }}</p>

hacknug avatar Sep 26 '19 15:09 hacknug

Thanks for reporting. I will add a fix once time allows, unless someone else picks it up before then

fmeringdal avatar Nov 07 '23 23:11 fmeringdal

Proposed fix in #100 if you want to try it out before next release. It isn't a complete fix, but should hopefully cover most cases.

fmeringdal avatar Nov 23 '23 13:11 fmeringdal