mirror of
https://github.com/twigphp/Twig.git
synced 2026-11-05 18:54:56 +00:00
33 lines
305 B
Plaintext
33 lines
305 B
Plaintext
--TEST--
|
|
Line whitespace trimming on tags (right side).
|
|
--TEMPLATE--
|
|
**{% if true ~%}
|
|
foo{% endif %}**
|
|
|
|
**{{ 'foo' ~}}
|
|
foo
|
|
**
|
|
|
|
**{# comment ~#}
|
|
foo
|
|
**
|
|
|
|
**{% verbatim ~%}
|
|
foo{% endverbatim %}**
|
|
--DATA--
|
|
return []
|
|
--EXPECT--
|
|
**
|
|
foo**
|
|
|
|
**foo
|
|
foo
|
|
**
|
|
|
|
**
|
|
foo
|
|
**
|
|
|
|
**
|
|
foo**
|