You are here

public function mimemail_compress::add_unprocessable_tag in Mime Mail 7

Same name and namespace in other branches
  1. 6 modules/mimemail_compress/mimemail_compress.inc \mimemail_compress::add_unprocessable_tag()

Adds tag to list of unprocessable tags.

There are some HTML tags that DOMDocument cannot process, and will throw an error if it encounters them. It only strips them from the code (does not remove actual nodes).

File

modules/mimemail_compress/mimemail_compress.inc, line 50
Converts CSS styles into inline style attributes.

Class

mimemail_compress
Compresses HTML and CSS into combined message.

Code

public function add_unprocessable_tag($tag) {
  $this->unprocessable_tags[] = $tag;
}