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

util/Markdown: fix handling of links with URL-escapable characters #3721

Merged
merged 3 commits into from
Feb 28, 2024

Conversation

mastercactapus
Copy link
Member

Description:
Fixes an issue where URLs with characters like | aren't handled properly.

This PR ensures intended behavior where the printed/displayed link will show | and the href attribute will contain the properly escaped URL.

@mastercactapus mastercactapus merged commit da64246 into master Feb 28, 2024
7 checks passed
@mastercactapus mastercactapus deleted the markdown-links-fix branch February 28, 2024 22:34
- [http://exact2.example.com/foo?test=1&bar=2](http://exact2.example.com/foo?test=1&bar=2)
- [http://exact3.example.com/foo?test=1&bar=2](http://exact3.example.com/foo?test=1&bar=2)
- https://plain.example.com
- <http://bad-slack.example.com | sometext>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😂

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

Successfully merging this pull request may close these issues.

4 participants