MD036 should not trigger for emphasized list items (fixes #26).

This commit is contained in:
David Anson 2016-09-30 22:54:16 -07:00
parent a2df7742c6
commit ce9ec8fb5e
3 changed files with 46 additions and 0 deletions

View file

@ -803,6 +803,12 @@ module.exports = [
return inBlockquote;
}
};
} else if (token.type === "list_item_open") {
return function inListItem(t) {
if (t.type !== "list_item_close") {
return inListItem;
}
};
}
}
var state = base;