Skip to content

Commit

Permalink
changed expression
Browse files Browse the repository at this point in the history
  • Loading branch information
legenderrys committed Dec 18, 2022
1 parent 5cf4764 commit 2fac9d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mistletoe/block_token.py
Original file line number Diff line number Diff line change
Expand Up @@ -1007,7 +1007,7 @@ def apply_props(self, token, is_child: bool = None):
if not has_nested_children:
return
for chld in token.children:
is_child_key = True if chld.__class__.__name__ != 'List' else False
is_child_key = True if not isinstance(chld, List) else False
if not is_child_key:
self.id_index += 1
token_props = self.parent_props
Expand Down

0 comments on commit 2fac9d9

Please sign in to comment.