Install

Works with Drupal: 7.x

Using Composer to manage Drupal site dependencies

Downloads

Download tar.gz 12.78 KB
MD5: 873b79584c3efde3aa11f1c9d8ba5507
SHA-1: f316f4edf6effdff0008aca6bdfe73447ad71822
SHA-256: baba5203e649c5e6f7ef3f1445ad28dc7044abb5d634a7767e4117576cc6a1f0
Download zip 15.51 KB
MD5: dc49ce9839209dd2f09c1e8f67a53ff7
SHA-1: 30e497c7dade15aadd9b00e2a6ac113cbb411349
SHA-256: 2fcc70d1b1b552d2eda21d8fcea563d9abe114e16c07135327ba819f89ce3dbe

Release notes

Fixes:

#1516920: _emogrifier_replace_tag function removes space before valid tags

Emogrifier

Uses the emogrifier class library as an input filter to convert stylesheet rules to inline style attributes. This ensures proper display on email and mobile device readers that lack stylesheet support.

Installation

  1. Ensure that the PHP Document Object Model extension is available. Emogrifier requires the dom extension and will not work without it.

  2. Download, install, and enable the Libraries module.

  3. Create a library directory for the Emogrifier library in one of the following locations:

    • sites/all/libraries/emogrifier (recommended)
    • sites/DOMAIN/libraries/emogrifier
    • profiles/PROFILE/libraries/emogrifier

    DOMAIN is your website domain name, and PROFILE is the installation profile you selected when installing Drupal.

  4. Download the emogrifier.php and place it within the library directory you just created.

  5. Install this module and enable it.

  6. Visit admin/configure/content/formats or click on

    Administer >> Configuration >> Content authoring >> Text formats

    to set up a new input format or add Emogrifier filtering to an existing format.

Created by: pillarsdotnet
Created on: 10 Apr 2012 at 17:06 UTC
Last updated: 10 Apr 2012 at 17:10 UTC
Bug fixes
Unsupported

Other releases