- Timestamp:
- 08/04/10 10:10:14 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/expressoMail1_2/inc/class.imap_functions.inc.php
r3106 r3130 813 813 $content = $this -> replace_links( $content ); 814 814 $content = str_replace( array( ' #$<$# ', ' #$>$# ' ), array( '<', '>' ), $content ); 815 $content = '<pre style="white-space:pre;word-wrap: break-word;white-space:pre-wrap;white-space:-moz-pre-wrap;font-family: monospace;font-size:12px">' . $content . '</pre>';815 $content = '<pre>' . $content . '</pre>'; 816 816 817 817 $return[ 'body' ] = $content; … … 866 866 if(!($file_type == "text/plain" && $msg->fsize[$msg_number][$values] > 102400)) { 867 867 $content .= htmlentities($this->decodeBody(imap_fetchbody($this->mbox, $msg_number, $msg_part, FT_UID), $msg->encoding[$msg_number][$values], $msg->charset[$msg_number][$values])); 868 $content = '<pre style="white-space:pre;word-wrap: break-word;white-space:pre-wrap;white-space:-moz-pre-wrap;font-family: monospace;font-size:12px">' . $content . '</pre>';868 $content = '<pre>' . $content . '</pre>'; 869 869 } 870 870 } … … 879 879 $content .= "<hr align='left' width='95%' style='border:1px solid #DCDCDC'>"; 880 880 $content .= $this->decodeBody(imap_fetchbody($this->mbox, $msg_number, $msg_part, FT_UID), $msg->encoding[$msg_number][$values], $msg->charset[$msg_number][$values]); 881 $content = '<pre style="white-space:pre;word-wrap: break-word;white-space:pre-wrap;white-space:-moz-pre-wrap;font-family: monospace;font-size:12px">' . $content . '</pre>';881 $content = '<pre>' . $content . '</pre>'; 882 882 } 883 883 else if($file_type == "message/rfc822" || $file_type == "text/rfc822-headers"){ … … 942 942 $body = $this -> replace_links( $body ); 943 943 $body = str_replace( array( ' #$<$# ', ' #$>$# ' ), array( '<', '>' ), $body ); 944 $body = '<pre style="white-space:pre;word-wrap: break-word;white-space:pre-wrap;white-space:-moz-pre-wrap;font-family: monospace;font-size:12px">' . $body . '</pre>';944 $body = '<pre>' . $body . '</pre>'; 945 945 } 946 946
Note: See TracChangeset
for help on using the changeset viewer.