aboutsummaryrefslogtreecommitdiff
path: root/markdown/ast_paragraph_test.go
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2026-02-03 18:47:14 +0100
committerAnhgelus Morhtuuzh <william@herges.fr>2026-02-03 18:47:14 +0100
commit80adfde3c830f734eb186a294f9d856c2df81593 (patch)
tree411ac4659e630be89945036a700592d707d6b05d /markdown/ast_paragraph_test.go
parentbec5e1d43a516b39d3aceaa022933020f81f2793 (diff)
fix(dom): remove trailing slash for void element
was never required for html
Diffstat (limited to 'markdown/ast_paragraph_test.go')
-rw-r--r--markdown/ast_paragraph_test.go4
1 files changed, 2 insertions, 2 deletions
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", `<p>bonsoir</p>`))
t.Run("one_break", testWithOptions(opt, `bonsoir
-world`, `<p>bonsoir<br />world</p>`))
+world`, `<p>bonsoir<br>world</p>`))
t.Run("mult_break", testWithOptions(opt, `bonsoir
world
-new line`, `<p>bonsoir<br />world</p><p>new line</p>`))
+new line`, `<p>bonsoir<br>world</p><p>new line</p>`))
})
}