strip_html

功能說明
移除字串中的所有 HTML 標籤,只留下純文字。


語法

{{ 字串 | trip_html }}

範例

{{ "<p>Hello <strong>world</strong></p>" | strip_html }}
Hello world