strip_html

Strips all HTML tags from a string.

Params

  • str {String} Input string, required
  • return {Array} Returns string

Usage

{{ strip_html str }}

Example

{{ strip_html '<h1>Hello World</h1>' }}

Output

Was this article helpful to you?

Error loading component.

Error loading component.