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
Discovered that setting preserveMediaQueries to true prevents style tags from being removed even if they don't contain a media query (and removeStyleTags is true obviously). I encountered this while working on some html emails, where I kept style blocks close to the relevant markup. Many of them didn't contain media queries but the style tags didn't get removed.
Setting
{removeStyleTags: true}
isn't removing empty style tags.After inlining the CSS (which works as expected) all of the style blocks in
<body>
are emptied, but remain in the output:The text was updated successfully, but these errors were encountered: