mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-05 21:30:40 +08:00
Add 'only_markdown' parameter to emphasize_header call in utils.py for security concerns section
This commit is contained in:
@ -175,7 +175,7 @@ def convert_to_markdown_v2(output_data: dict,
|
|||||||
markdown_text += f'### {emoji} No security concerns identified\n\n'
|
markdown_text += f'### {emoji} No security concerns identified\n\n'
|
||||||
else:
|
else:
|
||||||
markdown_text += f"### {emoji} Security concerns\n\n"
|
markdown_text += f"### {emoji} Security concerns\n\n"
|
||||||
value = emphasize_header(value.strip())
|
value = emphasize_header(value.strip(), only_markdown=True)
|
||||||
markdown_text += f"{value}\n\n"
|
markdown_text += f"{value}\n\n"
|
||||||
elif 'can be split' in key_nice.lower():
|
elif 'can be split' in key_nice.lower():
|
||||||
if gfm_supported:
|
if gfm_supported:
|
||||||
|
Reference in New Issue
Block a user