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

fix: ending slash are preserved on links #543

Closed

Conversation

galuszkak
Copy link
Contributor

When creating in Markdown links they are being stripped of ending slash /. This creates sometimes an issues for redirects. To solve this resolver takes into account if in original link it was slash ending and make sure that after relative URL generation that slash is being preserved.

@jp7677
Copy link
Collaborator

jp7677 commented Jun 18, 2024

Is this the same as #534 ?

@galuszkak
Copy link
Contributor Author

Oh, wow looks like this is the same. I didn't look if anyone else tried to solve this. I think you can close my PR.

@jp7677
Copy link
Collaborator

jp7677 commented Jun 18, 2024

Oh, wow looks like this is the same. I didn't look if anyone else tried to solve this. I think you can close my PR.

Or the other way around ;). Could you please check if my version also fixes your issue?

@galuszkak
Copy link
Contributor Author

@jp7677 will do it today.

@galuszkak galuszkak closed this Jun 19, 2024
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

Successfully merging this pull request may close these issues.

None yet

2 participants