Strip tags
Removes tags and attributes from markup as defined.
Options
- allowed_tags
<type: string>
: A string of allowed tags as formatted for strip_tags. - remove_attr
<type: array>
: A list of attributes that should be removed.
Usage
processors:
-
processor: strip_tags
allowed_tags: <h1><h2><h3>
remove_attr:
- id
- class
- style