diff --git a/util/html.py b/util/html.py --- a/util/html.py +++ b/util/html.py @@ -85,7 +85,9 @@ case "li": if self.list_stack: ltype, idx = self.list_stack[-1] indent = " " * (len(self.list_stack) - 1) - self.append_text(f"{indent}- " if ltype == "ul" else f"{indent}{idx + 1}. ") + self.append_text( + f"{indent}- " if ltype == "ul" else f"{indent}{idx + 1}. " + ) self.list_stack[-1] = (ltype, idx + 1) case _: # self.builder.extend(f"<{tag}>".encode("utf-8"))