Skip to content

fix(anchor): ignore anchor hash when parsing internal link syntax#576

Merged
kevinports merged 1 commit into
nextfrom
fix/special-char-in-anchor-hash
Sep 7, 2022
Merged

fix(anchor): ignore anchor hash when parsing internal link syntax#576
kevinports merged 1 commit into
nextfrom
fix/special-char-in-anchor-hash

Conversation

@kevinports

@kevinports kevinports commented Aug 31, 2022

Copy link
Copy Markdown
Contributor
PR App Fix RM-2485

There's a bug with our internal link feature where if you pass a url hash of non-unicode characters as an anchor link, the href doesn't get parsed in the Anchor component.

Here's an example: https://busted-links.readme.io/docs/intercom-3

🧰 Changes

  • Ignore anchor hash when parsing internal link syntax that generates a link's path, and append the hash to the path string separately.

🧬 QA & Testing

@github-actions

github-actions Bot commented Aug 31, 2022

Copy link
Copy Markdown

A review app has been launched for this PR!

🔍 Inspect the app: https://dashboard.heroku.com/apps/markdown-pr-576

🧭 Take it for a spin: https://markdown-pr-576.herokuapp.com/

  • Shut down on Wed Sep 7: Since this PR is closed, its review app has been cleaned up. 🧽

@kellyjosephprice kellyjosephprice left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🎉

@kevinports kevinports merged commit 25c5460 into next Sep 7, 2022
@kevinports kevinports deleted the fix/special-char-in-anchor-hash branch September 7, 2022 11:04
@rafegoldberg

Copy link
Copy Markdown
Collaborator

This PR was released!

🚀 Changes included in v6.52.0

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