Skip to content
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

Problems with Hyperlinks #2570

Closed
mseliger opened this issue Sep 20, 2024 · 5 comments
Closed

Problems with Hyperlinks #2570

mseliger opened this issue Sep 20, 2024 · 5 comments

Comments

@mseliger
Copy link

OS: Linux Mint and Windows 10 /11

Hello,
a) when exporting a tree to a single html then the hyperlinks between the nodes of the tree are not working. The program uses the same links as if you exported the tree to multiple files (there the links are working).

b) When creating a link in Cherrytree, Cherrytree is always adding http:// to the link.
E. g. my link for a book in calibre which work under Windows and Linux is:
calibre://show-book/hex-4269626c696f7468656b/69070
When I paste the link in the browser it will open the book in Calibre.
When adding a link in Cherrytree the program creates http://calibre://show-book/_hex_-4269626c696f7468656b/69070 - so the link is not working. Is it possible to suppress the http?

Greetings from the Münsterland
Maria

@gitvectors
Copy link

I do not often use Calibre but it occurs to me that you might use CodeBoxes instead of hyperlinks to launch Calibre pages. The commands are here.

https://manual.calibre-ebook.com/generated/en/cli-index.html

CodeBoxes are often forgotten embedded tools. Choose from multiple syntaxes.

@giuspen
Copy link
Owner

giuspen commented Sep 28, 2024

Hallo @mseliger thanks for reporting, point (a) has been fixed for upcoming v1.2.0.
About point (b) it probably makes sense to recognise the pattern whatever:// and leave it as is. I'll have a think but I'll probably do it.

@giuspen
Copy link
Owner

giuspen commented Sep 29, 2024

I'm also no longer prefixing http:// whenever a URL-like prefix is already there, this should solve your problem, let me know if it works for you

@giuspen giuspen closed this as completed Sep 29, 2024
@mseliger
Copy link
Author

mseliger commented Oct 5, 2024

Hello giuspen, i've just installed the new version and the hyperlinks works like a charm. Thank you!
Greetings from the Münsterland

@giuspen
Copy link
Owner

giuspen commented Oct 5, 2024

Thanks for confirming @mseliger take care

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants