-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Link to local file with spaces in name does not work on Linux with Gio #548
Comments
Fixed in master, can you please test? |
Hm, I'm still getting an error, but a slightly different one. The file it's trying to open contains even more escape codes:
|
Wow, that string in your example is triply percent encoded! However I cannot reproduce it. Does your Markdown source still contain Can you please add some debug prints around this line: Line 48 in 995dc3e
and print: the initial value of |
Ok ok my bad, I had added some back-slashes in the file name in the MD while testing, and forgot about them! |
Hi,
I'm having trouble working with links to local files which contain spaces in their names.
In this markdown:
The first link works, while the seconds one outputs an error: (both files exist)
Might it be a problem in Retext?
I initially thought it to be a python-qt or gnome-gio error, so I reported it here: (apparently mistakenly so!)
https://bugreports.qt.io/browse/PYSIDE-1488
I think the relevant code is the QDesktopServices.openUrl() call at preview.py:49?
In the report, it was suggested that QUrl.fromLocalFile() or QUrl.fromUserInput() should be used instead. (?)
Can you reproduce this issue?
I am on Arch Linux, with Cinnamon as the DE.
The text was updated successfully, but these errors were encountered: