title: how to set the text of a pre tag using jquery
body: <p>I'm using a pre tag to hold some raw formated text that has carriage returns. When the page is first displayed, it looks fine.  Later, I want to refresh just the pre data.  I've tried two ways to do this with jquery, one using .html() and the other way with .text().  Both sorta work, but the .html throws away the carriage returns and the .text double spaces the carriage returns!  I've also tried .val() but that didn't work at all.  Here's the code (of course I only use one of the jquery lines at a time.)</p>
  
  <pre><code>&lt;pre id="QComment"&gt;Initial Text&lt;/pre&gt;
  </code></pre>
  
  <p>at some time later,</p>
  
  <pre><code>$('#QComment').text(databack);   // or
  $('#QComment').html(databack);
  </code></pre>