summaryrefslogtreecommitdiff
path: root/program/steps/mail/compose.inc
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-03-14 12:17:38 +0100
committerAleksander Machniak <alec@alec.pl>2013-03-14 12:17:38 +0100
commit542f15bfece569ba3d07f57339aca22e535027dd (patch)
treec77e822171d59227a39aa8c378741b62b9ad2edb /program/steps/mail/compose.inc
parent5c26bd49b10a2666df9e4853b0740038b0cc3b88 (diff)
Enriched content should be also converted to text if html is disabled
Diffstat (limited to 'program/steps/mail/compose.inc')
-rw-r--r--program/steps/mail/compose.inc3
1 files changed, 0 insertions, 3 deletions
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc
index dd6a1d88c..640272400 100644
--- a/program/steps/mail/compose.inc
+++ b/program/steps/mail/compose.inc
@@ -675,9 +675,6 @@ function rcmail_compose_part_body($part, $isHtml = false)
$txt = new rcube_html2text($body, false, true, $len);
$body = $txt->get_text();
}
- else if ($part->ctype_secondary == 'enriched') {
- $body = rcube_enriched::to_html($body);
- }
else {
if ($part->ctype_secondary == 'plain' && $part->ctype_parameters['format'] == 'flowed') {
$body = rcube_mime::unfold_flowed($body);