Skip to content

Commit

Permalink
Port cb612bd0 from prosemirror-markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
nono committed Aug 21, 2023
1 parent de2a591 commit 1940f66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion markdown/parse_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ func TestMarkdown(t *testing.T) {
doc(p("1. foo")))

// doesn't fail with line break inside inline mark
same("**text1\ntext2**", doc(p(strong("text1\ntext2"))))
serialize(doc(p(strong("text1\ntext2"))), "**text1\ntext2**")

// drops trailing hard breaks
serialize(doc(p("a", br, br)), "a")
Expand Down

0 comments on commit 1940f66

Please sign in to comment.