Skip to content

Make Link component recognize mailto links #1208

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

Merged
merged 1 commit into from
May 1, 2020
Merged

Make Link component recognize mailto links #1208

merged 1 commit into from
May 1, 2020

Conversation

rogermparent
Copy link
Contributor

Basically, Gatsby Link is only for regular links within the site. We currently have a wrapper that chooses whether to use it or a raw a tag depending on if the link is within the site or not. This change adds a step to that check that filters out links that start with mailto:, making them work properly wherever this wrapper component is used, like the support page.

Fixes #1201

@shcheklein shcheklein temporarily deployed to dvc-landing-fix-mailto-njpmbyn May 1, 2020 21:51 Inactive
@rogermparent
Copy link
Contributor Author

@shcheklein shcheklein merged commit 7e0ff15 into master May 1, 2020
@shcheklein shcheklein deleted the fix-mailto branch June 30, 2020 22:46
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.

support: email link is broken
2 participants