strip_html Filter

Remove all HTML tag markup from a string.

Parameters

None.

Category

String Filters

Description

Removes all HTML tag markup from a string.

      {{ 'I am without <a href="http://example.org/">links</a>.' | strip_html }}
      

Output

I am without links.