diff --git a/docs/Filters.md b/docs/Filters.md index 3575ca20..d76cf15a 100644 --- a/docs/Filters.md +++ b/docs/Filters.md @@ -219,6 +219,12 @@ Removes only the specified HTML tags. Keeps the content of the tags. - Example: `"
Hello world!
"|remove_tags:"b"` returns `"Hello world!
"`. - Multiple tags: `{{contentHtml|remove_tags:("a,em,strong")}}` +### `replace_tags` + +Replaces HTML tags, maintaining the content and attributes of the tag. + +- `{{contentHtml|replace_tags:"strong":"h2"}}` replaces all `` tags with `