strip_html

從字串中移除任何 HTML 標籤。

輸入

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

輸出

Have you read Ulysses?