[django/django] 6ca6c3: Improved strip_tags and clarified documentation

5 views
Skip to first unread message

GitHub

unread,
Mar 22, 2014, 6:00:00 AM3/22/14
to django-...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/django/django
Commit: 6ca6c36f82b97eafeada61384b2e2f1d0587da86
https://github.com/django/django/commit/6ca6c36f82b97eafeada61384b2e2f1d0587da86
Author: Claude Paroz <cla...@2xlibre.net>
Date: 2014-03-22 (Sat, 22 Mar 2014)

Changed paths:
M django/utils/html.py
M docs/ref/templates/builtins.txt
M docs/ref/utils.txt
M tests/utils_tests/test_html.py

Log Message:
-----------
Improved strip_tags and clarified documentation

The fact that strip_tags cannot guarantee to really strip all
non-safe HTML content was not clear enough. Also see:
https://www.djangoproject.com/weblog/2014/mar/22/strip-tags-advisory/


Reply all
Reply to author
Forward
0 new messages