mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-09 14:14:59 +00:00
don't disrupt \_ in filenames #1158
This commit is contained in:
parent
8c766f81b2
commit
4b2227c71f
4 changed files with 34 additions and 3 deletions
|
@ -415,7 +415,9 @@ def strip_filename(filename, fence):
|
|||
filename = filename.strip()
|
||||
filename = filename.strip("`")
|
||||
filename = filename.strip("*")
|
||||
filename = filename.replace("\\_", "_")
|
||||
|
||||
# https://github.com/paul-gauthier/aider/issues/1158
|
||||
# filename = filename.replace("\\_", "_")
|
||||
|
||||
return filename
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue