There is a bug when update link

Steps to reproduce

There is a file named Virsual Studio Code.md
and There is a link to this file,like [vs code](<../../Virsual Studio Code.md>)
Now I raname the file to Virsual Studio Code2.md
and the link chang to [vs code](../../Virsual%20Studio%20Code2.md Studio Code.md>)

Expected result

[vs code](<../../Virsual Studio Code2.md>)

Actual result

[vs code](../../Virsual%20Studio%20Code2.md Studio Code.md>)