mirror of
https://github.com/twigphp/Twig.git
synced 2026-11-01 16:45:50 +00:00
29 lines
282 B
Plaintext
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**
|