Skip to content

Commit 25c173b

Browse files
authored
🔧 Remove unnecessary method arg (#76)
For compatibility with future markdown-it-py
1 parent 2040839 commit 25c173b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎mdit_py_plugins/deflist/index.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def deflist(state: StateBlock, startLine: int, endLine: int, silent: bool):
160160
state.tight = True
161161
state.parentType = "deflist"
162162

163-
state.md.block.tokenize(state, ddLine, endLine, True)
163+
state.md.block.tokenize(state, ddLine, endLine)
164164

165165
# If any of list item is tight, mark list as tight
166166
if not state.tight or prevEmptyEnd:

‎mdit_py_plugins/footnote/index.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def footnote_def(state: StateBlock, startLine: int, endLine: int, silent: bool):
131131
if state.sCount[startLine] < state.blkIndent:
132132
state.sCount[startLine] += state.blkIndent
133133

134-
state.md.block.tokenize(state, startLine, endLine, True)
134+
state.md.block.tokenize(state, startLine, endLine)
135135

136136
state.parentType = oldParentType
137137
state.blkIndent -= 4

0 commit comments

Comments
 (0)