strip_html

v1.9.1

Removes any HTML tags from a string.

Not safe for HTML output

This filter removes tags by string scanning; it does not parse HTML5 the way a browser does, and it is not a sanitizer. The result may still be unsafe when inserted into HTML. Use [escape][escape], [escape_once][escape_once], or [outputEscape: "escape"][outputEscape] for untrusted output.

Input

{{ "Have <em>you</em> read <strong>Ulysses</strong>?" | strip_html }}

Output

Have you read Ulysses?