build(deps): update premailer 3.8.0 -> 3.10.0 (#21783)
This commit is contained in:
parent
4b0990c736
commit
cf8a603dac
2 changed files with 4 additions and 2 deletions
|
|
@ -405,7 +405,9 @@ def inline_style_in_html(html):
|
||||||
css_files = [path.lstrip("/") for path in css_files]
|
css_files = [path.lstrip("/") for path in css_files]
|
||||||
css_files = [css_file for css_file in css_files if os.path.exists(os.path.abspath(css_file))]
|
css_files = [css_file for css_file in css_files if os.path.exists(os.path.abspath(css_file))]
|
||||||
|
|
||||||
p = Premailer(html=html, external_styles=css_files, strip_important=False)
|
p = Premailer(
|
||||||
|
html=html, external_styles=css_files, strip_important=False, allow_loading_external_files=True
|
||||||
|
)
|
||||||
|
|
||||||
return p.transform()
|
return p.transform()
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,7 @@ dependencies = [
|
||||||
"passlib~=1.7.4",
|
"passlib~=1.7.4",
|
||||||
"pdfkit~=1.0.0",
|
"pdfkit~=1.0.0",
|
||||||
"phonenumbers==8.13.13",
|
"phonenumbers==8.13.13",
|
||||||
"premailer~=3.8.0",
|
"premailer~=3.10.0",
|
||||||
"psutil~=5.9.5",
|
"psutil~=5.9.5",
|
||||||
"psycopg2-binary~=2.9.1",
|
"psycopg2-binary~=2.9.1",
|
||||||
"pyOpenSSL~=23.2.0",
|
"pyOpenSSL~=23.2.0",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue