Changeset 3131 for trunk/expressoMail1_2/inc
- Timestamp:
- 08/04/10 10:53:48 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/inc/class.imap_functions.inc.php
r3111 r3131 837 837 $content = $this -> replace_links( $content ); 838 838 $content = str_replace( array( ' #$<$# ', ' #$>$# ' ), array( '<', '>' ), $content ); 839 $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>';839 $content = '<pre>' . $content . '</pre>'; 840 840 841 841 $return[ 'body' ] = $content; … … 889 889 if(!($file_type == "text/plain" && $msg->fsize[$msg_number][$values] > 102400)) { 890 890 $content .= htmlentities($this->decodeBody(imap_fetchbody($this->mbox, $msg_number, $msg_part, FT_UID), $msg->encoding[$msg_number][$values], $msg->charset[$msg_number][$values])); 891 $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>';891 $content = '<pre>' . $content . '</pre>'; 892 892 } 893 893 } … … 903 903 $content .= "<hr align='left' width='95%' style='border:1px solid #DCDCDC'>"; 904 904 $content .= $this->decodeBody(imap_fetchbody($this->mbox, $msg_number, $msg_part, FT_UID), $msg->encoding[$msg_number][$values], $msg->charset[$msg_number][$values]); 905 $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>';905 $content = '<pre>' . $content . '</pre>'; 906 906 907 907 } … … 967 967 $body = $this -> replace_links( $body ); 968 968 $body = str_replace( array( ' #$<$# ', ' #$>$# ' ), array( '<', '>' ), $body ); 969 $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>';969 $body = '<pre>' . $body . '</pre>'; 970 970 } 971 971
Note: See TracChangeset
for help on using the changeset viewer.