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

URL-encode spaces in links #112

Closed
lebedov opened this issue Dec 18, 2020 · 1 comment
Closed

URL-encode spaces in links #112

lebedov opened this issue Dec 18, 2020 · 1 comment

Comments

@lebedov
Copy link

lebedov commented Dec 18, 2020

In markserv 1.17.4, it seems that a link like [my link](./foo/bar baz) is rendered as plain text rather than being converted into an HTML link such as <a href="./foo/bar%20baz">my link</a>. Would it be possible to change this behavior to URL-encode links/paths with spaces and render working links with them?

@lebedov
Copy link
Author

lebedov commented Dec 18, 2020

Never mind - I see that markdown-it can correctly render spaces if the link is enclosed in angle brackets.

@lebedov lebedov closed this as completed Dec 18, 2020
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

1 participant