mirror of
https://github.com/Hopiu/django-imagekit.git
synced 2026-03-16 21:30:23 +00:00
Merge pull request #478 from vstoykov/fix/warnings
Pass features to BeautifulSoup constructor
This commit is contained in:
commit
94cc8ed9e4
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ def render_tag(ttag):
|
|||
|
||||
|
||||
def get_html_attrs(ttag):
|
||||
return BeautifulSoup(render_tag(ttag)).img.attrs
|
||||
return BeautifulSoup(render_tag(ttag), features="html.parser").img.attrs
|
||||
|
||||
|
||||
def assert_file_is_falsy(file):
|
||||
|
|
|
|||
Loading…
Reference in a new issue