Striptag

StripTag

This filter is used to remove all the HTML tags from a string.

Parameters

ParameterTypeDefaultDescription
targetSTRING“main”the field of the Message that should be used for the filter (it could be main or an extra field)
... | striptag(target="main") | ...

Output

The main of the output Message will have the text extracted from the target config, stripped by all the HTML tags.

A new extra field is created: fulltext will contain the original target string.

Examples