ssg/test/djot-to-html/002-linebreaks-and-nbsp/test.dj

22 lines
595 B
Text

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 \n in the middle of it
Multiple soft breaks should coalesce \n\n\n into one
Same should apply when mixing explicit \n
and implied soft breaks
An escaped space\ should render as a nonbreaking space
We also want to test\ \ multiple\ \ \ nonbreaking\ \ \ \ spaces\ \ \ \ \ in a row