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

Add html cleanup (formatting) to mail parser -> piped emails.

parent 5ceceaab
No related branches found
No related tags found
No related merge requests found
......@@ -140,7 +140,7 @@ class Mail_Parse {
//Cleanup the html.
$body=str_replace("</DIV><DIV>", "\n", $body);
$body=str_replace(array("<br>", "<br />", "<BR>", "<BR />"), "\n", $body);
$body=Format::striptags($body);
$body=Format::striptags(Format::html($body));
}
}
return $body;
......
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