1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 01:36:22 +00:00

fix lint errors

This commit is contained in:
Baptiste Augrain
2018-08-27 23:16:21 +02:00
parent 646151e020
commit f57c4f390d

View File

@@ -155,12 +155,12 @@ module.exports = function definitionListPlugin (md) {
newEndLine = ddLine
while (++newEndLine < endLine && (state.sCount[newEndLine] >= state.sCount[ddLine] || state.isEmpty(newEndLine))) {
}
oldLineMax = state.lineMax
state.lineMax = newEndLine
state.md.block.tokenize(state, ddLine, newEndLine, true)
state.lineMax = oldLineMax
// If any of list item is tight, mark list as tight