<!DOCTYPE HTML>
<html lang=en>
  <body>
    <p>A paragraph with a normal newline in the middle of it</p>
    <p>
      A paragraph with a hard line break 
      <br>
      in the middle of it
    </p>
    <p>
      A paragraph with a hard line break 
      <br>
      in the middle of it with extra spaces
    </p>
    <p>
      A paragraph with a hard line break 
      <br>
      in the middle of it with no spaces
    </p>
    <p>A paragraph with an explicit soft line break in the middle of it</p>
    <p>Multiple soft breaks should coalesce into one</p>
    <p>Same should apply when mixing explicit and implied soft breaks</p>
    <p>An escaped space&nbsp;should render as a nonbreaking space</p>
    <p>We also want to test&nbsp;&nbsp;multiple&nbsp;&nbsp;&nbsp;nonbreaking&nbsp;&nbsp;&nbsp;&nbsp;spaces&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;in a row</p>
  </body>
</html>