Skip to content

Commit 0d987b4

Browse files
committed
ci: correct type error
1 parent 19ff403 commit 0d987b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mdformat_mkdocs/mdit_plugins/_material_deflist.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@ def render_material_definition_body(
9191
indented_lines = [f"{marker}{lines[0]}"] + [
9292
f"{' ' * indent_width}{line}" if line else "" for line in lines[1:]
9393
]
94-
indented_lines = ("" if tight_list else "\n") + "\n".join(indented_lines)
94+
joined_lines = ("" if tight_list else "\n") + "\n".join(indented_lines)
9595
next_sibling = node.next_sibling
96-
return indented_lines + (
96+
return joined_lines + (
9797
"\n" if (next_sibling and next_sibling.type == "dt") else ""
9898
)
9999
finally:

0 commit comments

Comments
 (0)