title: How to get whitespace using jQuery's .html() or .text()
body: <p>I have the following HTML:</p>
  
  <pre><code>&lt;div&gt; &lt;/span&gt;
  &lt;span&gt;  &lt;/span&gt;
  </code></pre>
  
  <p>How can I get an <code>.innerHTML</code> (or <code>.innerText</code>) including the original whitespace? I tried jQuery's <code>.html()</code> and <code>.text()</code>, but they return an empty string.</p>