Skip to content
Snippets Groups Projects
Commit be4d48b5 authored by Peter Rotich's avatar Peter Rotich
Browse files

Merge pull request #59 from greezybacon/issue/html2text-oops


Fix oops in text email conversion

Reviewed-By: default avatarPeter Rotich <peter@osticket.com>
parents 54b40f12 c4ccd918
No related branches found
No related tags found
No related merge requests found
......@@ -144,7 +144,7 @@ class Mailer {
&& preg_match('/^\s*</', $message)) {
// Make sure nothing unsafe has creeped into the message
$message = Format::safe_html($message); //XXX??
$mime->setTXTBody(Format::html2text($message), 90, false);
$mime->setTXTBody(Format::html2text($message, 90, false));
}
else {
$mime->setTXTBody($message);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment