Spaces in links?

0 votes
asked Jul 16, 2019 in Question / help by Jorge


I guess this is probably more of a feature request than a question, but i will try anyway.

Is there any way to have spaces in links? I see in the docs the following examples:

I have been playing around with using quotation marks for the link, like so:

  • [[file:///path/to/my file.html This label is printed]]: This sets "file:///path/to/my" as the link, and rest as label.
  • [["file:///path/to/my file.html" "This label is printed"]]: This sets "file:///path/to/my file.html" both as link and label.
  • [['file:///path/to/my file.html' 'This label is printed']]: This sets "'file:///path/to/my" as the link and "file.html' 'This label is printed'" as label.
  • many other attempts, without success

As you can see i am trying to link to local filesystem paths that may contain spaces.

Is there any way to achieve this?


1 Answer

0 votes
answered Jul 16, 2019 by plantuml (226,400 points)
Best answer
Did you try to encode space as %20 ? It may work :

[[file:///path/to/my%20file.html This label is printed]]:
commented Jul 17, 2019 by Jorge
Bingo, thank you!