title: How do I make the whitespace behaviour in a <textarea> and a HTML preview match?
body: <p>I have a <code>&lt;textarea&gt;</code> element. When the user fills it, you can see the spaces they made and when they pressed Enter to jump to the next line.</p>
  
  <p>This is great, but when I see the HTML output, the result differs. It is an endless sentence without line breaks.</p>
  
  <p>Using only HTML or JavaScript, how can I fix this?</p>