A paragraph with a normal newline in the middle of it

A paragraph with a hard line break
in the middle of it

A paragraph with a hard line break
in the middle of it with extra spaces

A paragraph with a hard line break
in the middle of it with no spaces

A paragraph with an explicit soft line break in the middle of it

Multiple soft breaks should coalesce into one

Same should apply when mixing explicit and implied soft breaks

An escaped space should render as a nonbreaking space

We also want to test  multiple   nonbreaking    spaces     in a row