aboutsummaryrefslogtreecommitdiff
path: root/mardown/ast_quote.go
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2025-10-01 09:47:12 +0200
committerAnhgelus Morhtuuzh <william@herges.fr>2025-10-01 09:47:12 +0200
commite189a051ef8fe5e9fb439773e4cbc27103f537ca (patch)
tree356c4d33a7edbb24c291cfa45057da9912991a88 /mardown/ast_quote.go
parentc49daa8fe6fdcf1c7fab08ee32f1ff994979c401 (diff)
fix(markdown): not stopping paragraph after 2 lb
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 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