Possible to customize how URLs are encoded?

I want to change how URLs are encoded from:

[link text](file:///c:\some_video.mp4)

to

[link text](file:///c:\some_video.mp4 )

with the added space before the closing parenthesis.

Reason: currently, if I copy text from Joplin's code-view into a regular text editor (e.g. Notepad++), and double-click on just the link, the text editor mis-interprets the closing parenthesis as part of the link and mangles the link).

Is there any simple straightforward way to configure Joplin to add such a space?

Thanks.