aboutsummaryrefslogtreecommitdiff
path: root/mardown/ast_quote.go
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2025-10-02 13:21:37 +0200
committerAnhgelus Morhtuuzh <william@herges.fr>2025-10-02 13:21:37 +0200
commit72eed1cfa1f5067a7ca581c53bb40e9e0fb047cc (patch)
tree5a4e8b69c4e2705222baf1e1c8e0ffcfadfb3c98 /mardown/ast_quote.go
parentcdb0a541554aa4a16fc71b6425225e8c603c83b8 (diff)
fix(markdown): bad list parsing
Diffstat (limited to 'mardown/ast_quote.go')
-rw-r--r--mardown/ast_quote.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/mardown/ast_quote.go b/mardown/ast_quote.go
index d673f61..f046445 100644
--- a/mardown/ast_quote.go
+++ b/mardown/ast_quote.go
@@ -44,7 +44,7 @@ func quote(lxs *lexers) (*astQuote, error) {
for lxs.Next() && n < 2 {
switch lxs.Current().Type {
case lexerBreak:
- n = len(lxs.Current().Value)
+ n += len(lxs.Current().Value)
quoteContinue = false
case lexerQuote:
n = 0