title: Trying to preserve carriage returns when using <cfpdfform>
body: <p>I'm pushing HTML forms data into PDFs using the <code>&lt;cfpdfform&gt;</code> tag and XML data created from the HTML post with <code>XMLFormat()</code>.</p>
  
  <p>For the life of me, I can't preserve carriage returns.</p>
  
  <p>My strategy has been to replace the CRLF ( <code>chr(13) &amp; chr(10)</code> ) in the post with a character string that survives the <code>XMLFormat()</code> and appropriately controls the text layout in the PDF.</p>
  
  <p>I've tried HTML, HTML Entities, \n, etc.  The <em>only</em> string that had any affect on the output other than to appear exactly as sent, was this <code>&amp;#x000D;&amp;#x000A;</code></p>
  
  <p>Unfortunately, that string (or individually either character of it) removes some of the surrounding text.  But it <em>was</em> the only string that had any affect.</p>
  
  <p>How do I preserve carriage returns?  Does anyone know?</p>
  
  <p>Thanks for any input you may have.</p>