Commit 416c1729 authored by YANO Takashi's avatar YANO Takashi

ZP-1216Z-PUSH Sent folder's preview may show RAW HTML at iOS. Released under...

ZP-1216Z-PUSH Sent folder's preview may show RAW HTML at iOS. Released under the Affero GNU General Public License (AGPL) version 3.
parent af174978
...@@ -1077,7 +1077,7 @@ class BackendIMAP extends BackendDiff implements ISearchProvider { ...@@ -1077,7 +1077,7 @@ class BackendIMAP extends BackendDiff implements ISearchProvider {
if ( strlen($textBody) == 0 ) { if ( strlen($textBody) == 0 ) {
# if only HTML, convert HTML into PLAIN # if only HTML, convert HTML into PLAIN
Mail_mimeDecode::getBodyRecursive($message, "html", $textBody, true); Mail_mimeDecode::getBodyRecursive($message, "html", $textBody, true);
$textBody = strip_tags($textBody); $textBody = Utils::ConvertHtmlToText($textBody);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment