diff options
Diffstat (limited to 'mardown/ast_modifier.go')
| -rw-r--r-- | mardown/ast_modifier.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
