RemoveTags method (text)

Removes all HTML and XML tags from this text.

Syntax

text.RemoveTags

Returns text with all HTML and XML tags removed.

Example

{% Var text = 'The soup was <i>cold</i>!' %}

{{ text.RemoveTags }}

The above example would output: The soup was cold!.