summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorferhat elmas <elmas.ferhat@gmail.com>2013-03-28 02:51:44 +0100
committerClaude Paroz <claude@2xlibre.net>2013-03-28 22:45:30 +0100
commit56d4356d8cb6e683c354a4b8f22a17d37624d6e8 (patch)
tree59531c8a278f8a9107e73ca14b5a7c881e3c6306 /docs
parent1cf4968cc5503aeffd663f6472215ba5f8feeaf5 (diff)
[1.5.x] Fixed #20146 -- Updated removed_tags example
Backport of e5d252f5b9 from master.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/utils.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt
index 35d76531a7..eaecfd0e98 100644
--- a/docs/ref/utils.txt
+++ b/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"``.