Files
Twig/tests/Fixtures/whitespace/trim_left.test
2019-06-30 14:56:12 +02:00

33 lines
285 B
Plaintext

--TEST--
Whitespace trimming on tags (left side).
--TEMPLATE--
**{% if true %}
foo
{%- endif %}**
**
{{- 'foo' }}**
**
{#- comment #}**
**{% verbatim %}
foo
{%- endverbatim %}**
--DATA--
return []
--EXPECT--
**foo**
**foo**
****
**
foo**