From 7b2b9d312791fcf6f49a350f6887a2019d2730f7 Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Tue, 30 Sep 2025 22:35:31 +0200 Subject: feat(markdown): quote --- mardown/ast_modifier.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mardown/ast_modifier.go') diff --git a/mardown/ast_modifier.go b/mardown/ast_modifier.go index a9039ce..80552e2 100644 --- a/mardown/ast_modifier.go +++ b/mardown/ast_modifier.go @@ -73,6 +73,9 @@ func modifier(lxs *lexers) (*astModifier, error) { modInside.content = append(modInside.content, astLiteral(s)) s = "" modInside = modInside.parent + case lexerBreak: + lxs.current-- // because we did not use it + return mod, nil default: return nil, ErrInvalidTypeInModifier } -- cgit v1.2.3