Fixed #20146 -- Updated removed_tags example

This commit is contained in:
ferhat elmas 2013-03-28 02:51:44 +01:00 committed by Claude Paroz
parent d85d393500
commit e5d252f5b9
1 changed files with 2 additions and 2 deletions

View File

@ -568,11 +568,11 @@ escaping HTML.
.. function:: remove_tags(value, tags) .. 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:: 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 If ``value`` is ``"<b>Joel</b> <button>is</button> a <span>slug</span>"`` the
return value will be ``"Joel <button>is</button> a slug"``. return value will be ``"Joel <button>is</button> a slug"``.