- Decode entities when inserting HTML signature to plain text message (#1484990)
| | |
| | | 2008/04/16 (alec) |
| | | ---------- |
| | | - Fix typo in set_charset() (#1484991) |
| | | - Decode entities when inserting HTML signature to plain text message (#1484990) |
| | | |
| | | 2008/04/15 (estadtherr) |
| | | ---------- |
| | |
| | | |
| | | function rcmail_compose_header_from($attrib) |
| | | { |
| | | global $IMAP, $MESSAGE, $DB, $USER, $OUTPUT, $compose_mode; |
| | | global $IMAP, $MESSAGE, $DB, $USER, $OUTPUT, $CONFIG, $compose_mode; |
| | | |
| | | // pass the following attributes to the form class |
| | | $field_attrib = array('name' => '_from'); |
| | |
| | | { |
| | | $h2t = new html2text($a_signatures[$identity_id]['text'], false, false); |
| | | $plainTextPart = $h2t->get_text(); |
| | | $a_signatures[$identity_id]['plain_text'] = trim($plainTextPart); |
| | | $a_signatures[$identity_id]['plain_text'] = trim(html_entity_decode($plainTextPart, ENT_NOQUOTES, 'UTF-8')); |
| | | } |
| | | } |
| | | |