From 677a4a03fb65ed48aa90e38e30971d35db7b5357 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Thu, 12 Jul 2018 17:47:19 +0200 Subject: [PATCH] * Tracker: fix issue text part of some html tickets mail notifications contain html parts --- api/src/Storage/Tracking.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/api/src/Storage/Tracking.php b/api/src/Storage/Tracking.php index 75d4b0f311..3a4a929f40 100644 --- a/api/src/Storage/Tracking.php +++ b/api/src/Storage/Tracking.php @@ -1066,6 +1066,10 @@ abstract class Tracking { $body .= ($html_email ? '
':'') . "\n$sig"; } + if (!$html_email && $data['tr_edit_mode'] == 'html') + { + $body = Api\Mail\Html::convertHTMLToText($body); + } return $body; }