From 80adfde3c830f734eb186a294f9d856c2df81593 Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Tue, 3 Feb 2026 18:47:14 +0100 Subject: fix(dom): remove trailing slash for void element was never required for html --- markdown/ast_paragraph_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'markdown/ast_paragraph_test.go') diff --git a/markdown/ast_paragraph_test.go b/markdown/ast_paragraph_test.go index c18dfc7..91e41f4 100644 --- a/markdown/ast_paragraph_test.go +++ b/markdown/ast_paragraph_test.go @@ -15,10 +15,10 @@ func TestParagraph(t *testing.T) { opt := &Option{Poem: true} t.Run("simple", testWithOptions(opt, "bonsoir", `

bonsoir

`)) t.Run("one_break", testWithOptions(opt, `bonsoir -world`, `

bonsoir
world

`)) +world`, `

bonsoir
world

`)) t.Run("mult_break", testWithOptions(opt, `bonsoir world -new line`, `

bonsoir
world

new line

`)) +new line`, `

bonsoir
world

new line

`)) }) } -- cgit v1.2.3