From 914dc68dfbef59908246b8bfff6d1e7ca705249d Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Wed, 1 Oct 2025 09:26:10 +0200 Subject: test(markdown): general file --- 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 570fbd2..2d1cd4f 100644 --- a/mardown/ast_modifier.go +++ b/mardown/ast_modifier.go @@ -57,7 +57,7 @@ func modifier(lxs *lexers) (*astModifier, error) { } } var s string - for lxs.Next() { + for modInside != nil && lxs.Next() { switch lxs.Current().Type { case lexerLiteral: s += lxs.Current().Value -- cgit v1.2.3