diff options
| author | Anhgelus Morhtuuzh <william@herges.fr> | 2025-09-30 22:35:31 +0200 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <william@herges.fr> | 2025-09-30 22:35:31 +0200 |
| commit | 7b2b9d312791fcf6f49a350f6887a2019d2730f7 (patch) | |
| tree | f932a1f941c927e83fe144aa4d164996bd9db870 /mardown/ast_modifier.go | |
| parent | 0426dfc21a0808a25404d3f03d36d1ce4e2efde7 (diff) | |
feat(markdown): quote
Diffstat (limited to 'mardown/ast_modifier.go')
| -rw-r--r-- | mardown/ast_modifier.go | 3 |
1 files changed, 3 insertions, 0 deletions
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 } |
