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

Don't shorten-links in code blocks in tables in comments #5638

Merged
merged 2 commits into from May 20, 2022

Conversation

fregante
Copy link
Member

@fregante fregante commented May 20, 2022

The interesting part here is that GitHub is specifically parsing Markdown tables differently and linkifying URLs within them. Since this does not usually happen with other tables, we've never encountered this bug.

Test URLs

Native Before After
Screen Shot 13 Screen Shot 12 Screen Shot 11

@fregante fregante added the bug label May 20, 2022
@fregante fregante merged commit 5776940 into main May 20, 2022
@fregante fregante deleted the no-shorten-links-tables branch May 20, 2022 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

shorten-links shortens a link in a pre incorrectly
1 participant