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

Markdown links break with # in note title #3760

Closed
beefeater7 opened this issue Sep 17, 2020 · 0 comments
Closed

Markdown links break with # in note title #3760

beefeater7 opened this issue Sep 17, 2020 · 0 comments
Labels
bug It's a bug desktop All desktop platforms high High priority issues

Comments

@beefeater7
Copy link

beefeater7 commented Sep 17, 2020

Hash symbols are permitted in filenames but not in URIs. Exporting to MD neglects this.

image

image

Resulting MD:

# Interlinking...

...works in Joplin [but breaks](../Example/#%20Title.md) in Markdown. The hash symbol in URL is not escaped.

One solution would be to sub # for %23, else maybe strip hashes from the file names.

@beefeater7 beefeater7 added the bug It's a bug label Sep 17, 2020
@beefeater7 beefeater7 changed the title Markdown exported note interlinking breaks with # in filename Markdown links break with # in note title name Sep 17, 2020
@beefeater7 beefeater7 changed the title Markdown links break with # in note title name Markdown links break with # in note title Sep 17, 2020
@laurent22 laurent22 added desktop All desktop platforms high High priority issues labels Sep 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug It's a bug desktop All desktop platforms high High priority issues
Projects
None yet
Development

No branches or pull requests

2 participants