We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
* A ** A**Fail** * B ** A**Fail**
to be
{ "type": "Document", "children": [ { "type": "List", "children": [ { "type": "ListItem", "children": [ { "type": "Paragraph", "children": [ { "type": "Str", "value": "A", "loc": { "start": { "line": 1, "column": 2 }, "end": { "line": 1, "column": 3 } }, "range": [ 2, 3 ], "raw": "A" } ], "loc": { "start": { "line": 1, "column": 2 }, "end": { "line": 1, "column": 3 } }, "range": [ 2, 3 ], "raw": "A" }, { "type": "List", "children": [ { "type": "ListItem", "children": [ { "type": "Paragraph", "children": [ { "type": "Str", "value": "A**Fail**", "loc": { "start": { "line": 2, "column": 3 }, "end": { "line": 2, "column": 12 } }, "range": [ 7, 16 ], "raw": "A**Fail**" } ], "loc": { "start": { "line": 2, "column": 3 }, "end": { "line": 2, "column": 12 } }, "range": [ 7, 16 ], "raw": "A**Fail**" } ], "raw": "", "loc": { "start": { "line": 2, "column": 3 }, "end": { "line": 2, "column": 12 } }, "range": [ 7, 16 ] } ], "raw": "", "loc": { "start": { "line": 2, "column": 3 }, "end": { "line": 2, "column": 12 } }, "range": [ 7, 16 ] } ], "raw": "", "loc": { "start": { "line": 1, "column": 2 }, "end": { "line": 2, "column": 12 } }, "range": [ 2, 16 ] }, { "type": "ListItem", "children": [ { "type": "Paragraph", "children": [ { "type": "Str", "value": "B", "loc": { "start": { "line": 3, "column": 2 }, "end": { "line": 3, "column": 3 } }, "range": [ 19, 20 ], "raw": "B" } ], "loc": { "start": { "line": 3, "column": 2 }, "end": { "line": 3, "column": 3 } }, "range": [ 19, 20 ], "raw": "B" }, { "type": "List", "children": [ { "type": "ListItem", "children": [ { "type": "Paragraph", "children": [ { "type": "Str", "value": "A**Fail**", "loc": { "start": { "line": 2, "column": 3 }, "end": { "line": 2, "column": 12 } }, "range": [ 7, 16 ], "raw": "A**Fail**" } ], "loc": { "start": { "line": 2, "column": 3 }, "end": { "line": 2, "column": 12 } }, "range": [ 7, 16 ], "raw": "A**Fail**" } ], "raw": "", "loc": { "start": { "line": 2, "column": 3 }, "end": { "line": 2, "column": 12 } }, "range": [ 7, 16 ] } ], "raw": "", "loc": { "start": { "line": 2, "column": 3 }, "end": { "line": 2, "column": 12 } }, "range": [ 7, 16 ] } ], "raw": "", "loc": { "start": { "line": 3, "column": 2 }, "end": { "line": 2, "column": 12 } }, "range": [ 19, // <= range[0] > range[1] that is invalid range 16 ] } ], "raw": "", "loc": { "start": { "line": 1, "column": 2 }, "end": { "line": 2, "column": 12 } }, "range": [ 2, 16 ] } ], "loc": { "start": { "line": 1, "column": 2 }, "end": { "line": 2, "column": 12 } }, "range": [ 2, 16 ], "raw": "* A\n** A**Fail**\n* B\n** A**Fail**" }
This node range is invalid.
"range": [ 19, // <= range[0] > range[1] that is invalid range 16 ]
I noticed the children is not sorted in sometimes. children[0] is after of children[children.length - 1].
children
textlint-plugin-asciidoctor/src/parse.js
Line 302 in 01f9455
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
to be
This node range is invalid.
I noticed the
children
is not sorted in sometimes.children[0] is after of children[children.length - 1].
textlint-plugin-asciidoctor/src/parse.js
Line 302 in 01f9455
The text was updated successfully, but these errors were encountered: