diff options
| author | Anhgelus Morhtuuzh <william@herges.fr> | 2025-10-02 10:58:28 +0200 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <william@herges.fr> | 2025-10-02 10:58:28 +0200 |
| commit | 597e15a5cde4127105ce7a6109d52491d6976be7 (patch) | |
| tree | ba10438a8604ba4ed8a0c59a32844fbebee0c96c /mardown/ast_modifier_test.go | |
| parent | f0899429d56849f8cdf58f53a8232e4433f6725e (diff) | |
fix(markdown): not supporting triple same modifier in a row
Diffstat (limited to 'mardown/ast_modifier_test.go')
| -rw-r--r-- | mardown/ast_modifier_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
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 != "<p><b>bo<em>n</em>soir</b></p>" { + if c != "<p><b>bo<em>n</em>soir</b>, ça <b><em>va</em> bien</b> ?</p>" { t.Errorf("failed, got %s", c) t.Logf("lxs: %s\ntree: %s", lxs, tree) } |
