You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
html = instance.transform(html, pretty_print=False)
File "/usr/local/lib/python3.10/dist-packages/premailer/premailer.py", line 414, in transform
style.text = self._css_rules_to_string(these_leftover)
File "/usr/local/lib/python3.10/dist-packages/premailer/premailer.py", line 683, in _css_rules_to_string
forkeyinrule.style.keys():
AttributeError: 'CSSMediaRule' object has no attribute 'style'. Did you mean: '_type'?
The text was updated successfully, but these errors were encountered:
Having trouble with the following transformation:
The text was updated successfully, but these errors were encountered: