Skip to content

Commit

Permalink
Replace bleach-whitelist with bleach-allowlist. Closes #1813
Browse files Browse the repository at this point in the history
bleach-whitelist 0.0.11 has been deprecated and the package has
been renamed
  • Loading branch information
atodorov committed Aug 3, 2020
1 parent 481a771 commit 555f8ab
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions requirements/base.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
-r tarballs.txt

bleach==3.1.5
bleach-allowlist==1.0.2
Django==3.0.9
django-attachments==1.5
django-contrib-comments==1.9.2
Expand Down
1 change: 0 additions & 1 deletion requirements/tarballs.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# these do not provide wheel packages

bleach-whitelist==0.0.10
django-glrm==1.1.3
django-grappelli==2.14.2
django-uuslug==1.2.0
Expand Down
2 changes: 1 addition & 1 deletion tcms/core/templatetags/extra_filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import bleach
import markdown
from bleach_whitelist import markdown_attrs, markdown_tags, print_tags
from bleach_allowlist import markdown_attrs, markdown_tags, print_tags
from django import template
from django.contrib.messages import constants as messages
from django.utils.safestring import mark_safe
Expand Down

0 comments on commit 555f8ab

Please sign in to comment.