You are here

function _notify_content_html in Notify 5

Same name and namespace in other branches
  1. 5.2 notify.module \_notify_content_html()

Format HTML version of outgoing mail

File

./notify.module, line 333

Code

function _notify_content_html($node, $notify) {
  switch ($notify->teasers) {
    case 0:
      return;
    case 1:
      return check_markup($node->teaser, $node->format, FALSE);
      break;
    case 2:
      return check_markup($node->body, $node->format, FALSE);
  }
}