diff --git a/pr_agent/algo/utils.py b/pr_agent/algo/utils.py index 0e699ac13..c72a4108f 100644 --- a/pr_agent/algo/utils.py +++ b/pr_agent/algo/utils.py @@ -979,7 +979,9 @@ def process_description(description_full: str): long_summary = res.group(4).strip() long_summary = long_summary.replace('
*', '\n*').replace('
','').replace('\n','
') long_summary = h.handle(long_summary).strip() - if not long_summary.startswith('*'): + if long_summary.startswith('\\-'): + long_summary = "* " + long_summary[2:] + elif not long_summary.startswith('*'): long_summary = f"* {long_summary}" files.append({