Merge pull request #61 from glensc/html2text-case
html2text non-advanced mode ignore case
This commit is contained in:
commit
64d8952f3a
|
|
@ -2526,7 +2526,7 @@ class PHPMailer {
|
|||
$h = new html2text($html);
|
||||
return $h->get_text();
|
||||
}
|
||||
return html_entity_decode(trim(strip_tags(preg_replace('/<(head|title|style|script)[^>]*>.*?<\/\\1>/s', '', $html))), ENT_QUOTES, $this->CharSet);
|
||||
return html_entity_decode(trim(strip_tags(preg_replace('/<(head|title|style|script)[^>]*>.*?<\/\\1>/si', '', $html))), ENT_QUOTES, $this->CharSet);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue