diff --git a/pr_agent/algo/utils.py b/pr_agent/algo/utils.py
index b5837c5c..a06eefc6 100644
--- a/pr_agent/algo/utils.py
+++ b/pr_agent/algo/utils.py
@@ -236,7 +236,7 @@ def convert_to_markdown_v2(output_data: dict,
if is_value_no(value):
markdown_text += f"{emoji} No TODO sections"
else:
- markdown_text += f"{emoji} TODO sections {format_todo_item(value)}
\n\n"
+ markdown_text += f"{emoji} TODO sections
\n\n"
if isinstance(value, list):
markdown_text += "\n"
for todo_item in value:
@@ -244,17 +244,19 @@ def convert_to_markdown_v2(output_data: dict,
markdown_text += "
\n"
else:
markdown_text += f"### {emoji} TODO sections
\n\n"
if isinstance(value, list):
for todo_item in value:
markdown_text += f"- {format_todo_item(todo_item)}\n"
else:
markdown_text += f"- {format_todo_item(value)}\n"
+ markdown_text += "\n