From 72eed1cfa1f5067a7ca581c53bb40e9e0fb047cc Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Thu, 2 Oct 2025 13:21:37 +0200 Subject: fix(markdown): bad list parsing --- mardown/ast_quote.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mardown/ast_quote.go') 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 -- cgit v1.2.3