From de60d04efe08c69328a74cd6d8b231ff0b987cb8 Mon Sep 17 00:00:00 2001 From: Chris Sewell Date: Fri, 2 Jun 2023 23:11:08 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Remove=20unnecessary=20method=20?= =?UTF-8?q?arg?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For compatibility with future markdown-it --- mdit_py_plugins/deflist/index.py | 2 +- mdit_py_plugins/footnote/index.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mdit_py_plugins/deflist/index.py b/mdit_py_plugins/deflist/index.py index 8429b56..98430c3 100644 --- a/mdit_py_plugins/deflist/index.py +++ b/mdit_py_plugins/deflist/index.py @@ -160,7 +160,7 @@ def deflist(state: StateBlock, startLine: int, endLine: int, silent: bool): state.tight = True state.parentType = "deflist" - state.md.block.tokenize(state, ddLine, endLine, True) + state.md.block.tokenize(state, ddLine, endLine) # If any of list item is tight, mark list as tight if not state.tight or prevEmptyEnd: diff --git a/mdit_py_plugins/footnote/index.py b/mdit_py_plugins/footnote/index.py index 7e66073..09a2ae5 100644 --- a/mdit_py_plugins/footnote/index.py +++ b/mdit_py_plugins/footnote/index.py @@ -131,7 +131,7 @@ def footnote_def(state: StateBlock, startLine: int, endLine: int, silent: bool): if state.sCount[startLine] < state.blkIndent: state.sCount[startLine] += state.blkIndent - state.md.block.tokenize(state, startLine, endLine, True) + state.md.block.tokenize(state, startLine, endLine) state.parentType = oldParentType state.blkIndent -= 4