diff options
author | Aleksander Machniak <alec@alec.pl> | 2012-12-26 12:14:34 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2012-12-26 12:14:34 +0100 |
commit | 66afd70b756a0637da3537e96f6bf6ce0a2c46e9 (patch) | |
tree | 97d57798ee3c4cd9ebca62f24f90d05f806cffda /program/steps/mail/compose.inc | |
parent | 7ac94421bf85eb04c00c5ed05390e1ea0c6bcb0b (diff) |
Framework'ize html2text class
Diffstat (limited to 'program/steps/mail/compose.inc')
-rw-r--r-- | program/steps/mail/compose.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc index d07cf587f..379e920e5 100644 --- a/program/steps/mail/compose.inc +++ b/program/steps/mail/compose.inc @@ -470,7 +470,7 @@ function rcmail_compose_header_from($attrib) $text = $html = $sql_arr['signature']; if ($sql_arr['html_signature']) { - $h2t = new html2text($sql_arr['signature'], false, false); + $h2t = new rcube_html2text($sql_arr['signature'], false, false); $text = trim($h2t->get_text()); } else { @@ -667,7 +667,7 @@ function rcmail_compose_part_body($part, $isHtml = false) // use html part if it has been used for message (pre)viewing // decrease line length for quoting $len = $compose_mode == RCUBE_COMPOSE_REPLY ? $LINE_LENGTH-2 : $LINE_LENGTH; - $txt = new html2text($body, false, true, $len); + $txt = new rcube_html2text($body, false, true, $len); $body = $txt->get_text(); } else if ($part->ctype_secondary == 'enriched') { |