diff --git a/pr_agent/algo/utils.py b/pr_agent/algo/utils.py index df345511..8d1918e9 100644 --- a/pr_agent/algo/utils.py +++ b/pr_agent/algo/utils.py @@ -64,7 +64,10 @@ def convert_to_markdown(output_data: dict, gfm_supported: bool=True) -> str: if gfm_supported: markdown_text += f" {emoji} {key_nice}\n\n{value}\n\n\n" else: - markdown_text += f"{emoji} **{key_nice}:** {value}\n\n" + if len(value.split()) > 1: + markdown_text += f"{emoji} **{key_nice}:**\n\n {value}\n\n" + else: + markdown_text += f"{emoji} **{key_nice}:** {value}\n\n" if gfm_supported: markdown_text += "\n"