Within an HTML <pre> block Outlook does not use \par, but instead it uses \line not enclosed within htmlrtf pair. This newline should be preserved by RTF2HTMLConverterRFCCompliant. Example: outlook-message-parser attachments.msg
<pre>Received: from ABMAIL13.ci.atlantic-beach.fl.us (10.10.10.21) by
ABMAIL13.ci.atlantic-beach.fl.us (10.10.10.21) with Microsoft SMTP Server
(TLS) id 15.0.1076.9; Mon, 11 Apr 2016 09:08:47 -0400
Received:</pre>
Actual:
<pre>Received: from ABMAIL13.ci.atlantic-beach.fl.us (10.10.10.21) by ABMAIL13.ci.atlantic-beach.fl.us (10.10.10.21) with Microsoft SMTP Server (TLS) id 15.0.1076.9; Mon, 11 Apr 2016 09:08:47 -0400Received:</pre>
Within an HTML
<pre>
block Outlook does not use\par
, but instead it uses\line
not enclosed withinhtmlrtf
pair. This newline should be preserved by RTF2HTMLConverterRFCCompliant. Example: outlook-message-parser attachments.msgExpected:
Actual: