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

29 lines
282 B
Plaintext

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