mirror of
https://github.com/yuin/goldmark
synced 2025-03-04 23:04:52 +00:00
Fix #313
This commit is contained in:
parent
8c219a7562
commit
c0856327b3
2 changed files with 16 additions and 0 deletions
|
|
@ -716,3 +716,15 @@ a <!-- b -->
|
||||||
//= = = = = = = = = = = = = = = = = = = = = = = =//
|
//= = = = = = = = = = = = = = = = = = = = = = = =//
|
||||||
|
|
||||||
|
|
||||||
|
56: An empty list followed by blockquote
|
||||||
|
//- - - - - - - - -//
|
||||||
|
1.
|
||||||
|
> This is a quote.
|
||||||
|
//- - - - - - - - -//
|
||||||
|
<ol>
|
||||||
|
<li></li>
|
||||||
|
</ol>
|
||||||
|
<blockquote>
|
||||||
|
<p>This is a quote.</p>
|
||||||
|
</blockquote>
|
||||||
|
//= = = = = = = = = = = = = = = = = = = = = = = =//
|
||||||
|
|
|
||||||
|
|
@ -226,6 +226,10 @@ func (b *listParser) Continue(node ast.Node, reader text.Reader, pc Context) Sta
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if lastIsEmpty && indent < offset {
|
||||||
|
return Close
|
||||||
|
}
|
||||||
|
|
||||||
// Non empty items can not exist next to an empty list item
|
// Non empty items can not exist next to an empty list item
|
||||||
// with blank lines. So we need to close the current list
|
// with blank lines. So we need to close the current list
|
||||||
//
|
//
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue