blob: 4021660beddc6ce54faa1931bac04ef862d50c86 (
plain) (
blame)
1
2
3
4
5
6
7
8
|
--TEST--
"replace" filter
--TEMPLATE--
{{ "I like %this% and %that%."|replace({'%this%': "foo", '%that%': "bar"}) }}
--DATA--
return array()
--EXPECT--
I like foo and bar.
|