mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-17 22:40:13 +01:00
This commit is contained in:
parent
460836445c
commit
10f095c4fd
32 changed files with 3149 additions and 333 deletions
|
|
@ -60,10 +60,7 @@ module.exports = {
|
|||
|
||||
// Find the "visual" end of the list
|
||||
let endLine = list.endLine;
|
||||
const flattenedChildren = filterByPredicate(
|
||||
list.children,
|
||||
() => true
|
||||
);
|
||||
const flattenedChildren = filterByPredicate(list.children);
|
||||
for (const child of flattenedChildren.reverse()) {
|
||||
if (!nonContentTokens.has(child.type)) {
|
||||
endLine = child.endLine;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue