mblode/vscode-twig-language-2

Formatter breaks escape filter parameters

danjdewhurst opened this issue · 1 comments

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

Using v0.9.2 - VS Code 1.62.2

+1

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

Very annoying