mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-06 12:45:00 +00:00
put filename back outside fences
This commit is contained in:
parent
e76d1c0cfa
commit
f4b1797998
2 changed files with 11 additions and 7 deletions
|
@ -329,7 +329,11 @@ def strip_filename(filename, fence):
|
|||
return
|
||||
|
||||
filename = filename.rstrip(":")
|
||||
filename = filename.lstrip("#")
|
||||
filename = filename.strip()
|
||||
filename = filename.strip("`")
|
||||
filename = filename.strip("*")
|
||||
filename = filename.replace("\\_", "_")
|
||||
|
||||
return filename
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue