diff options
Diffstat (limited to 'django/template')
| -rw-r--r-- | django/template/defaultfilters.py | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/django/template/defaultfilters.py b/django/template/defaultfilters.py index d2c77508fe..8319c66eee 100644 --- a/django/template/defaultfilters.py +++ b/django/template/defaultfilters.py @@ -13,7 +13,7 @@ from django.utils.dateformat import format, time_format from django.utils.encoding import force_text, iri_to_uri from django.utils.html import ( avoid_wrapping, conditional_escape, escape, escapejs, linebreaks, - remove_tags, strip_tags, urlize as _urlize, + strip_tags, urlize as _urlize, ) from django.utils.http import urlquote from django.utils.safestring import SafeData, mark_for_escaping, mark_safe @@ -502,13 +502,6 @@ def safeseq(value): @register.filter(is_safe=True) @stringfilter -def removetags(value, tags): - """Removes a space separated list of [X]HTML tags from the output.""" - return remove_tags(value, tags) - - -@register.filter(is_safe=True) -@stringfilter def striptags(value): """Strips all [X]HTML tags.""" return strip_tags(value) |
