From 0426dfc21a0808a25404d3f03d36d1ce4e2efde7 Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Tue, 30 Sep 2025 21:43:03 +0200 Subject: fix(markdown): missing code in valid modifier type --- mardown/ast_modifier.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mardown/ast_modifier.go') diff --git a/mardown/ast_modifier.go b/mardown/ast_modifier.go index 7437ab8..a9039ce 100644 --- a/mardown/ast_modifier.go +++ b/mardown/ast_modifier.go @@ -62,7 +62,7 @@ func modifier(lxs *lexers) (*astModifier, error) { switch lxs.Current().Type { case lexerLiteral: s += lxs.Current().Value - case lexerModifier: + case lexerModifier, lexerCode: n := len(modInside.symbols) if len(lxs.Current().Value) < n { return nil, ErrInvalidModifier -- cgit v1.2.3