vscode-twig-language
vscode-twig-language copied to clipboard
Conditional selected attribute in Twig causes closing option tag to be marked as an error
Hi junstyle!
In the option list, if I conditionally use the selected attribute, the closing option tag is marked as an error. The template code works correctly and renders as expected in the browser, but the plugin shows a syntax error.
I have the same problem, dont know if it helps, but here's another example where you can see that it only happens on some lines not all.