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/lexer_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mardown/lexer_test.go') diff --git a/mardown/lexer_test.go b/mardown/lexer_test.go index c9ec349..8fe81cc 100644 --- a/mardown/lexer_test.go +++ b/mardown/lexer_test.go @@ -16,7 +16,7 @@ func TestLex(t *testing.T) { t.Errorf("invalid lex, got %s", lxs) } lxs = lex("***hey***, what's up?") - if lxs.String() != "Lexers[modifier(**) modifier(*) literal(hey) modifier(*) modifier(**) literal(, what's up?) ]" { + if lxs.String() != "Lexers[modifier(***) literal(hey) modifier(***) literal(, what's up?) ]" { t.Errorf("invalid lex, got %s", lxs) } lxs = lex(`Xxx\_DarkEmperor\_xxX`) -- cgit v1.2.3