Fork me on GitHub

filter

Parameters

filter-name
The name of the filter that you want to apply

Description

Applies any filter that is defined on the current context to all the contents of the rendered block.

>> {% filter escape %}
>>    <h1>Some title</h1>
>> {% end %}
=> 
=>    &lt;h1&gt;Some title&lt;/h1&gt;
=>