Skip to content

Commit

Permalink
Add test for hard line break in heading
Browse files Browse the repository at this point in the history
  • Loading branch information
robinst committed Feb 24, 2024
1 parent 979d2f6 commit 94eb5ff
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ public void testHeadings() {
assertRoundTrip("###### foo\n");

assertRoundTrip("Foo\nbar\n===\n");
assertRoundTrip("Foo \nbar\n===\n");
assertRoundTrip("[foo\nbar](/url)\n===\n");

assertRoundTrip("# foo\n\nbar\n");
Expand Down

0 comments on commit 94eb5ff

Please sign in to comment.