Commit e5d252f5 authored by ferhat elmas's avatar ferhat elmas Committed by Claude Paroz
Browse files

Fixed #20146 -- Updated removed_tags example

parent d85d3935
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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"``.