mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-12 02:45:18 +00:00
Add 'only_markdown' parameter to emphasize_header call in utils.py for security concerns section
This commit is contained in:
parent
f4b06640d2
commit
bae8d36698
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue