Update css-inline requirement from ==0.8.* to ==0.13.*

This commit is contained in:
Raphael Michel
2024-02-15 13:48:38 +01:00
parent c80d5b1bb2
commit b89a4f7b32
3 changed files with 3 additions and 3 deletions

View File

@@ -189,7 +189,7 @@ class TemplateBasedMailRenderer(BaseHTMLMailRenderer):
tpl = get_template(self.template_name)
body_html = tpl.render(htmlctx)
inliner = css_inline.CSSInliner(remove_style_tags=True)
inliner = css_inline.CSSInliner(keep_style_tags=False)
body_html = inliner.inline(body_html)
return body_html