From 511ad88f6bf7b0ec971df407469c494d9dcb139e Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Wed, 1 Oct 2025 15:04:54 +0200 Subject: feat(markdown): rewrite modifier parser to construct a better tree --- mardown/ast_modifier_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mardown/ast_modifier_test.go') diff --git a/mardown/ast_modifier_test.go b/mardown/ast_modifier_test.go index d805f22..1539aa4 100644 --- a/mardown/ast_modifier_test.go +++ b/mardown/ast_modifier_test.go @@ -4,7 +4,7 @@ import "testing" func TestModifier(t *testing.T) { content := ` -***bon*soir** +**bo*n*soir** ` lxs := lex(content) tree, err := ast(lxs) @@ -15,7 +15,7 @@ func TestModifier(t *testing.T) { if err != nil { t.Fatal(err) } - if c != "

bonsoir

" { + if c != "

bonsoir

" { t.Errorf("failed, got %s", c) t.Logf("lxs: %s\ntree: %s", lxs, tree) } -- cgit v1.2.3