diff --git a/py/LunaTranslator/cishu/cishubase.py b/py/LunaTranslator/cishu/cishubase.py index 70ad9380df9..ec581918521 100644 --- a/py/LunaTranslator/cishu/cishubase.py +++ b/py/LunaTranslator/cishu/cishubase.py @@ -107,7 +107,7 @@ def markdown_to_html(self, markdown_text: str): lideep = 0 def switchli(): - nonlocal lideep + nonlocal lideep, lastli while lideep: html_lines.append("") lideep -= 1