|
@@ -2507,10 +2507,7 @@ output will be ``"Joel is a slug"``.
|
|
|
Note that ``striptags`` doesn't give any guarantee about its output being
|
|
|
HTML safe, particularly with non valid HTML input. So **NEVER** apply the
|
|
|
``safe`` filter to a ``striptags`` output. If you are looking for something
|
|
|
- more robust, you can use the ``bleach`` Python library, notably its
|
|
|
- `clean`_ method.
|
|
|
-
|
|
|
-.. _clean: https://bleach.readthedocs.io/en/latest/clean.html
|
|
|
+ more robust, consider using a third-party HTML sanitizing tool.
|
|
|
|
|
|
.. templatefilter:: time
|
|
|
|