vscode-twig-language-2
vscode-twig-language-2 copied to clipboard
Syntax highlighting breaks when escaping quotes inside strings
Syntax highlighting is incorrect when using escaped quotes inside a string.
<p>{{ __( 'The page you are looking for doesn\'t exist', 'domain' ) }}</p>
Thanks for reporting. I will add a fix once time allows, unless someone else picks it up before then
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.