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

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**