From e189a051ef8fe5e9fb439773e4cbc27103f537ca Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Wed, 1 Oct 2025 09:47:12 +0200 Subject: fix(markdown): not stopping paragraph after 2 lb --- 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 11c7c13..101b854 100644 --- a/mardown/ast_quote.go +++ b/mardown/ast_quote.go @@ -42,7 +42,7 @@ func quote(lxs *lexers) (*astQuote, error) { for lxs.Next() && n < 2 { switch lxs.Current().Type { case lexerBreak: - n++ + n = len(lxs.Current().Value) quoteContinue = false case lexerQuote: n = 0 -- cgit v1.2.3