title: Prevent Joomla editor from stripping newlines/returns
body: <p>I am using Joomla 2.5 and have added the text editor to an admin component. When I save the text from the editor, all the newlines/returns are stripped from the text.</p>
  
  <p>I am using a similar SQL call as the following:</p>
  
  <pre><code>"UPDATE....... SET body=" .$db-&gt;quote(JRequest::getVar('body'))
  </code></pre>
  
  <p>I also tried saving the text without the $db->quote() call without any success.</p>
  
  <p>take care,
  lee</p>