striptags
Remove HTML tags from variable.
Sample Usage
{{ introduction|striptags }}
{{ introduction|striptags:p }}
{{ introduction|striptags:p,img }}
The first example will output the value of introduction
with all HTML tags removed.
The second example will output the value of introduction
with only <p>
tags removed.
The final example will output the value of introduction
with both <p>
and <img>
tags removed.
Parameters
This modifier has one optional parameter, a comma-separated list of tags to strip. When specified, only the tags listed will be removed.