Skip to content

Commit

Permalink
Unit-test the regression from #376
Browse files Browse the repository at this point in the history
  • Loading branch information
Witiko committed Nov 23, 2023
1 parent 052deec commit 44f7176
Showing 1 changed file with 30 additions and 2 deletions.
32 changes: 30 additions & 2 deletions tests/testfiles/lunamark-markdown/paragraph-separators.test
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,48 @@
This test ensures that paragraph separators and interblock separators
are produced where appropriate.

Two markdown *paragraphs* are
Two markdown *paragraphs are*

*always separated by a paragraph separator*


*no matter how many blank lines* in between.

> paragraphs work the same way
>
> in block quotes

- and also

in bullet lists

1. and in

ordered lists

>>>
BEGIN document
softLineBreak
paragraphSeparator
emphasis: paragraphs
emphasis: paragraphs are
paragraphSeparator
emphasis: always separated by a paragraph separator
paragraphSeparator
emphasis: no matter how many blank lines
interblockSeparator
blockQuoteBegin
paragraphSeparator
blockQuoteEnd
interblockSeparator
ulBegin
ulItem
paragraphSeparator
ulItemEnd
ulEnd
interblockSeparator
olBegin
olItemWithNumber: 1
paragraphSeparator
olItemEnd
olEnd
END document

0 comments on commit 44f7176

Please sign in to comment.