Mimemail compressor adds inline styling to each element to replace the styling provided by CSS rules, but it leaves the classnames intact. While useful for debugging, on production sites it would be better if the (now unnecessary) classnames were removed from the resulting HTML-code.

Comments

sgabe’s picture

Title:Mimemail compressor should have an option to remove classnames» Remove class attributes in the compressed message
Version:7.x-1.0-alpha1» 7.x-1.x-dev
StatusFileSize
new1.71 KB
new1.62 KB

The attached patch removes the class attributes by default and provides an option to preserve them.

sgabe’s picture

Status:Active» Needs review

Changing status.

sgabe’s picture

Title:Remove class attributes in the compressed message» Remove class attributes from the compressed message
Status:Needs review» Fixed
StatusFileSize
new2.04 KB
new1.97 KB

The attached patches are committed to both branches.

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.