title: jquery remove new line then wrap textnodes with block element
body: <p>I have some paragraphs like this:</p>
  
  <blockquote>
    <p>"This is the first para. r\r\n\n This
    is the second one with lot of new line
    after \n\n\n\n\n\n And the last para.
    \n\r\r"</p>
  </blockquote>
  
  <p>I want to remove the new lines and wrap each paragraph with the <code>&lt;p&gt;</code> tag. I'm expecting output as follows:</p>
  
  <pre><code>&lt;p&gt;This is the first para.&lt;/p&gt;
  &lt;p&gt;This is the second one with lot of new line after&lt;/p&gt;
  &lt;p&gt;And the last para.&lt;/p&gt;
  </code></pre>