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

Formatter breaks escape filter parameters

Open danjdewhurst opened this issue 3 years ago • 1 comments

|escape('js') becomes |escape(' js') which errors.

Using v0.9.2 - VS Code 1.62.2

danjdewhurst avatar Nov 17 '21 11:11 danjdewhurst

+1

id="test_{{ date|format_datetime(pattern="YYYY-MM-DD") }}" become id="test_{{ date|format_datetime(pattern=" yyyy-mm-dd") }}"

Very annoying

guillaumecardon avatar Mar 26 '22 08:03 guillaumecardon