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.

Members fund testing for the Drupal project. Drupal Association Learn more


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
1.71 KB
1.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
2.04 KB
1.97 KB

The attached patches are committed to both branches.

Status: Fixed » Closed (fixed)

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