question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Wiki links include URL encoding of space character

See original GitHub issue

Hi! Among other things, I’m starting using marksman as an Obsidian-clone on Neovim: it’s amazing! I configured it using the toml file as specified in the readme.md

I noticed that wiki-links referring to files having spaces in their name create links with URL encoded spaces (%20). This behavior breaks both neovim’s go to definition and hover functionalities (gd and K), so as Obsidian’s links (using the official app).

See the following screenshots:

While invoking the completion Screenshot from 2023-01-10 21-10-25

After confirming the completion Screenshot from 2023-01-10 21-10-45

Invoking the completion on Obsidian returns a correct link, w/o URL encoding of the space char Screenshot from 2023-01-10 21-12-16

I hope I’m not missing something from the docs

PS: Thank you for your work, I started recently using Obsidian on Neovim and honestly I’m in disbelief of what marksman can do. It’s even better than some specific plugins, and yours is even an LSP!

Issue Analytics

  • State:closed
  • Created 8 months ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Mrcuve0commented, Jan 30, 2023

I’m not a markdown power-user so I may not have tested everything, but my issue is solved! Thank you so much!

0reactions
artempyanykhcommented, Jan 30, 2023

Great! Happy to hear that @Mrcuve0

Read more comments on GitHub >

github_iconTop Results From Across the Web

URL encoding
URL encoding, officially known as percent-encoding, is a method to encode arbitrary data in a Uniform Resource Identifier (URI) using only the limited ......
Read more >
URL encoding the space character: + or %20?
For HTTP URLs, a space in a path fragment part has to be encoded to "%20" (not, absolutely not "+"), while the "+"...
Read more >
HTML URL Encoding Reference
URL encoding converts characters into a format that can be transmitted over the Internet. URLs can only be sent over the Internet using...
Read more >
How to handle %20 in link of wiki - Developer Community
I have a link like this https://a.com/test/test%20nn/b.docx ... I am pasting links that have %20 or other encoded characters in URL and they ......
Read more >
PITS / 00053: Support for URL-encoding of spaces and ...
Support for URL-encoding of spaces and non-ASCII characters in file links ... add a filter for URLs that encodes the offending characters for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found