mirror of
https://github.com/frappe/frappe.git
synced 2024-06-12 21:42:21 +00:00
build(deps): update premailer 3.8.0 -> 3.10.0 (#21783)
This commit is contained in:
parent
4b0990c736
commit
cf8a603dac
|
@ -405,7 +405,9 @@ def inline_style_in_html(html):
|
|||
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))]
|
||||
|
||||
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()
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@ dependencies = [
|
|||
"passlib~=1.7.4",
|
||||
"pdfkit~=1.0.0",
|
||||
"phonenumbers==8.13.13",
|
||||
"premailer~=3.8.0",
|
||||
"premailer~=3.10.0",
|
||||
"psutil~=5.9.5",
|
||||
"psycopg2-binary~=2.9.1",
|
||||
"pyOpenSSL~=23.2.0",
|
||||
|
|
Loading…
Reference in New Issue
Block a user