title: jquery text(), interpret<br> as new line
body: <p>Getting an element of the DOM like this</p>
  
  <pre><code>$('#id').content().text();
  </code></pre>
  
  <p>Problem arises with <br></p>
  
  <p>If it gets this:</p>
  
  <pre><code>&lt;p&gt;Hello&lt;/p&gt;
  &lt;p&gt;&lt;br&gt;&lt;/p&gt;
  &lt;p&gt;World&lt;/p&gt;
  </code></pre>
  
  <p>Naturally in Html looks like: </p>
  
  <pre><code>Hello 
  
  World
  </code></pre>
  
  <p>But this jquery <code>.text()</code> method returns: HelloWorld</p>
  
  <p>How to interpret <code>&lt;br&gt;</code> as new line? &lt;-> How to get the text exactly as I see it in HTML?</p>
  
  <p><code>.html()</code> gives all the HTML tags, which I don't want. I just need the plain text with spaces, if possible.</p>