mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-12 10:55:17 +00:00
protection
This commit is contained in:
parent
52e8d7bc6a
commit
ebc5cafb2b
1 changed files with 3 additions and 1 deletions
|
|
@ -979,7 +979,9 @@ def process_description(description_full: str):
|
||||||
long_summary = res.group(4).strip()
|
long_summary = res.group(4).strip()
|
||||||
long_summary = long_summary.replace('<br> *', '\n*').replace('<br>','').replace('\n','<br>')
|
long_summary = long_summary.replace('<br> *', '\n*').replace('<br>','').replace('\n','<br>')
|
||||||
long_summary = h.handle(long_summary).strip()
|
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}"
|
long_summary = f"* {long_summary}"
|
||||||
|
|
||||||
files.append({
|
files.append({
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue