Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[1.5.x] Fixed #20146 -- Updated removed_tags example

Backport of e5d252f from master.
  • Loading branch information...
commit 56d4356d8cb6e683c354a4b8f22a17d37624d6e8 1 parent 1cf4968
Ferhat Elmas ferhatelmas authored claudep committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/ref/utils.txt
4 docs/ref/utils.txt
@@ -570,11 +570,11 @@ escaping HTML.
.. function:: remove_tags(value, tags)
- Removes a list of [X]HTML tag names from the output.
+ Removes a space-separated list of [X]HTML tag names from the output.
For example::
- remove_tags(value, ["b", "span"])
+ remove_tags(value, "b span")
If ``value`` is ``"<b>Joel</b> <button>is</button> a <span>slug</span>"`` the
return value will be ``"Joel <button>is</button> a slug"``.
Please sign in to comment.
Something went wrong with that request. Please try again.