Skip to content

Commit

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

0 comments on commit 5cf4764

Please sign in to comment.