Index: branches/5.2.x/core/kernel/utility/email.php =================================================================== diff -u -N -r15363 -r15383 --- branches/5.2.x/core/kernel/utility/email.php (.../email.php) (revision 15363) +++ branches/5.2.x/core/kernel/utility/email.php (.../email.php) (revision 15383) @@ -1,6 +1,6 @@ GetDBField($is_html ? 'HtmlEmailTemplate' : 'TextEmailTemplate'); if ( !$is_html && !$design_template ) { - $design_template = $this->sender->ConvertToText($language->GetDBField('HtmlEmailTemplate')); + $design_template = $this->sender->ConvertToText($language->GetDBField('HtmlEmailTemplate'), true); } $design_templates[$design_key] = $design_template; @@ -754,15 +753,14 @@ * @param bool $is_html * @return bool|string * @access protected - * @todo maybe ConvertToText will strip all emailEvent->GetField($is_html ? 'HtmlBody' : 'PlainTextBody'); if ( !trim($message_body) && !$is_html ) { // no plain text part available -> make it from html part then - $message_body = $this->sender->ConvertToText($this->emailEvent->GetField('HtmlBody')); + $message_body = $this->sender->ConvertToText($this->emailEvent->GetField('HtmlBody'), true); } if ( !trim($message_body) ) {