Install

Using Composer to manage Drupal site dependencies

Alternative installation files

Download emogrifier-8.x-1.18.tar.gztar.gz 12.78 KB
MD5: 001aa5dac6f5dcaa9420cb14c566c5ec
SHA-1: 444409d30ec25fe3afdb488426a2149c423dee7a
SHA-256: 1547cc824faa854a1fd43eab8959b74fbdd423365d054cf536bd881f0869452f
Download emogrifier-8.x-1.18.zipzip 15.5 KB
MD5: 6b660279d09c6075c6fbe37e49104e52
SHA-1: 7a068345782198d337b8377cb1a2236ebe6fecb9
SHA-256: 27c0801eedbcbe494d995b3ce4f8f0995252aca624b72f52b6495b15a2ab619c

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:07 UTC
Last updated: 10 Apr 2012 at 17:10 UTC
Bug fixes

Other releases