$$ tpl.html
{% filter replace(from="&", to="and") %}A & B{% endfilter %}