Changeset e7d37ae in github


Ignore:
Timestamp:
Apr 16, 2008 3:22:35 AM (5 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
1b18b19
Parents:
f94a801
Message:
  • Decode entities when inserting HTML signature to plain text message (#1484990)
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG

    rf94a801 re7d37ae  
    55---------- 
    66- Fix typo in set_charset() (#1484991) 
     7- Decode entities when inserting HTML signature to plain text message (#1484990) 
    78 
    892008/04/15 (estadtherr) 
  • program/steps/mail/compose.inc

    r8e5defd re7d37ae  
    242242function rcmail_compose_header_from($attrib) 
    243243{ 
    244   global $IMAP, $MESSAGE, $DB, $USER, $OUTPUT, $compose_mode; 
     244  global $IMAP, $MESSAGE, $DB, $USER, $OUTPUT, $CONFIG, $compose_mode; 
    245245     
    246246  // pass the following attributes to the form class 
     
    299299            $h2t = new html2text($a_signatures[$identity_id]['text'], false, false); 
    300300            $plainTextPart = $h2t->get_text(); 
    301             $a_signatures[$identity_id]['plain_text'] = trim($plainTextPart); 
     301            $a_signatures[$identity_id]['plain_text'] = trim(html_entity_decode($plainTextPart, ENT_NOQUOTES, 'UTF-8')); 
    302302        } 
    303303      } 
Note: See TracChangeset for help on using the changeset viewer.