Skip to content

Commit

Permalink
Fixed #20146: updated removed_tags example
Browse files Browse the repository at this point in the history
  • Loading branch information
ferhatelmas committed Mar 28, 2013
1 parent 4befef9 commit 18eab94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/ref/utils.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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"``.
Expand Down

0 comments on commit 18eab94

Please sign in to comment.