From 1c89c7c007ae8bc7159af0e2e948a90e03478160 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Wed, 27 Jan 2010 10:49:47 -0700 Subject: [PATCH] Improve reply quoting in HTML messages Some mailers strip the type attribute from blockquote - switch to doing straight CSS in a DIV instead. Lightly shade the reply material to differentiate from new text. --- imp/lib/Compose.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/imp/lib/Compose.php b/imp/lib/Compose.php index 2d95f5e8c..e07a39b2f 100644 --- a/imp/lib/Compose.php +++ b/imp/lib/Compose.php @@ -1441,9 +1441,9 @@ class IMP_Compose if (!empty($msg_text) && ($compose_html || ($msg_text['mode'] == 'html'))) { $msg = '

' . $this->text2html(trim($msg_pre)) . '

' . - '
' . + '
' . (($msg_text['mode'] == 'text') ? $this->text2html($msg_text['text']) : $msg_text['text']) . - '
' . + '' . ($msg_post ? $this->text2html($msg_post) : '') . '
'; $msg_text['mode'] = 'html'; } else { -- 2.11.0