Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #20146 -- Updated removed_tags example

  • Loading branch information...
commit e5d252f5b9bc586a61113943f13e8fe6147d9e3d 1 parent d85d393
@ferhatelmas ferhatelmas authored claudep committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/ref/utils.txt
View
4 docs/ref/utils.txt
@@ -568,11 +568,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.