Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

Backport of e5d252f from master.
  • Loading branch information...
commit 56d4356d8cb6e683c354a4b8f22a17d37624d6e8 1 parent 1cf4968
Ferhat Elmas authored March 28, 2013 claudep committed March 28, 2013

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  docs/ref/utils.txt
4  docs/ref/utils.txt
@@ -570,11 +570,11 @@ escaping HTML.
570 570
 
571 571
 .. function:: remove_tags(value, tags)
572 572
 
573  
-    Removes a list of [X]HTML tag names from the output.
  573
+    Removes a space-separated list of [X]HTML tag names from the output.
574 574
 
575 575
     For example::
576 576
 
577  
-        remove_tags(value, ["b", "span"])
  577
+        remove_tags(value, "b span")
578 578
 
579 579
     If ``value`` is ``"<b>Joel</b> <button>is</button> a <span>slug</span>"`` the
580 580
     return value will be ``"Joel <button>is</button> a slug"``.

0 notes on commit 56d4356

Please sign in to comment.
Something went wrong with that request. Please try again.