diff --git a/src/qdox/main.py b/src/qdox/main.py
index 71eac23..c3f3ae5 100644
--- a/src/qdox/main.py
+++ b/src/qdox/main.py
@@ -332,7 +332,7 @@ def write_class(name,value):
write_html(f"
{part[0]}",md=True,nl=True)
elif line.startswith(" ") and line.strip().endswith(":"):
set_mode(None)
- write_html(f"""{line.strip()[:-1]}
""",nl=True)
+ write_html(f"""{line.strip()[:-1]}
""",nl=True)
else:
set_mode(None)
write_html(line,md=True,nl=True)