Closed dannyuk1982 closed 1 month ago
Describe the bug If you have a partial containing a hyphen, i.e.
{{ partial:image-and-quote }}
This causes an error:
[ANTLR_001] Expecting operand, found T_AND near "-".
It's fine with this syntax:
{{ partial src="image-and-quote" }}
Or without the and
{{ partial:image-quote }}
Impacted Products Which Antlers Toolbox products does this bug apply to?
Versions and Other Plugins/Extensions VS Code Version: 1.92.0
To Reproduce As above
Expected behavior No error as hyphens are valud
If submitting a formatting bug, please include the template contents below as well as an attachment As above
Thanks for the report!
Resolved in the following versions:
antlersls
antlers-formatter
prettier-plugin-antlers
Thanks for the super quick fix, amazing stuff!
Describe the bug If you have a partial containing a hyphen, i.e.
{{ partial:image-and-quote }}
This causes an error:
[ANTLR_001] Expecting operand, found T_AND near "-".
It's fine with this syntax:
{{ partial src="image-and-quote" }}
Or without the and
{{ partial:image-quote }}
Impacted Products Which Antlers Toolbox products does this bug apply to?
Versions and Other Plugins/Extensions VS Code Version: 1.92.0
To Reproduce As above
Expected behavior No error as hyphens are valud
If submitting a formatting bug, please include the template contents below as well as an attachment As above