You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a pdf file with parentheses in its filename.
Clicking links to this file crash inlyne, regardless of how I escape them.
For example, the below crash report was using URL encoding the spaces and parentheses (which works with several other markdown viewers). I've also tried escaping the parens with \( / \) and just leaving them plain. Various markdown renderers handle this differently.
Some renderers support delimiting the URL with <> (e.g. [here](<url>)) but this also crashes.
Markdown:
---title: Chase Statements for Chase Visa (...1234) 2013-05-16.pdfupdated: 2013-05-22 08:42:30Zcreated: 2013-05-22 08:42:30Ztags:
- Chase
- Chase Statements for Chase Visa (...1234)
- FileThis---[Chase Statements for Chase Visa (...1234) 2013-05-16.pdf](../_resources/Chase%20Statements%20for%20Chase%20Visa%20%28...1234%29%202013-05-16.pdf)[Chase Statements for Chase Visa (...1234) 2013-05-16.pdf](../_resources/Chase Statements for Chase Visa (...1234) 2013-05-16.pdf)
[Chase Statements for Chase Visa (...1234) 2013-05-16.pdf](<../_resources/Chase Statements for Chase Visa (...1234) 2013-05-16.pdf>)[Chase Statements for Chase Visa (...1234) 2013-05-16.pdf](<../_resources/Chase Statements for Chase Visa %28...1234%29 2013-05-16.pdf>)<!--Chase Statements for Chase Visa (...1234) 2013-05-16.pdf-->
Do you still experience this on the latest release (0.5.0)? The crash should at the very least be relaxed to a logged warning, but there was also a change that fixed opening relative file paths which may have fixed the issue entirely
Now, all of the above test cases do nothing in the UI, and output in the logs:
$ inlyne test.md
2025-02-07T03:54:08.601195Z ERROR inlyne: Could not open link: Launcher "/usr/bin/open" "../_resources/Chase%20Statements%20for%20Chase%20Visa%20(...1695)%202013-05-16.pdf" failed with ExitStatus(unix_wait_status(256)) from Ok("/Users/n8henrie/Desktop/tmp/joplin/My Notes")
I have a pdf file with parentheses in its filename.
Clicking links to this file crash inlyne, regardless of how I escape them.
For example, the below crash report was using URL encoding the spaces and parentheses (which works with several other markdown viewers). I've also tried escaping the parens with
\(
/\)
and just leaving them plain. Various markdown renderers handle this differently.Some renderers support delimiting the URL with
<>
(e.g.[here](<url>)
) but this also crashes.Markdown:
Crash log:
The text was updated successfully, but these errors were encountered: