@lezer/markdown
Advanced tools
Comparing version 0.15.1 to 0.15.2
@@ -0,1 +1,7 @@ | ||
## 0.15.2 (2021-11-08) | ||
### Bug fixes | ||
Fix a bug where an ordered list item after a nested bullet list would get treated as part of the bullet list item. | ||
## 0.15.1 (2021-10-11) | ||
@@ -2,0 +8,0 @@ |
{ | ||
"name": "@lezer/markdown", | ||
"version": "0.15.1", | ||
"version": "0.15.2", | ||
"description": "Incremental Markdown parser that consumes and emits Lezer trees", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.cjs", |
@@ -3551,2 +3551,9 @@ import {parser} from "../dist/index.js" | ||
test("Nested bullet lists don't break ordered list parsing", ` | ||
{OL:{LI:{l:1.} {P:A} | ||
{BL:{LI:{l:*} {P:A1}} | ||
{LI:{l:*} {P:A2}}}} | ||
{LI:{l:2.} {P:B}}} | ||
`) | ||
it("Doesn't get confused by tabs indenting a list item", () => { | ||
@@ -3553,0 +3560,0 @@ let doc = ` - a\n\t\tb` |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
367643
9080