How do I create a link in Mermaid where file name of link has spaces (" ") and let the display name of the link be different from the file name?

What I’m trying to do

I have a file named “Foo Bar”. I want to create a link to it with Mermaid JS, and have the display name of the link be “Foo”.

Things I have tried

It is possible to change the display name, but it is not possible to link to a file where the file have a space in its name, and let the display name of the link be something else.

Same topic:

Not pretty at all, especially if your diagrams are really long (using the anchor tag workaround). Who should I reach out to to make this officially supported?