From 597e15a5cde4127105ce7a6109d52491d6976be7 Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Thu, 2 Oct 2025 10:58:28 +0200 Subject: fix(markdown): not supporting triple same modifier in a row --- 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 1539aa4..ce0988f 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 := ` -**bo*n*soir** +**bo*n*soir**, ça ***va* bien** ? ` 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, ça va bien ?

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