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

Bug: Contact email links to incorrect URL #2670

Open
RanolP opened this issue Aug 20, 2024 · 0 comments
Open

Bug: Contact email links to incorrect URL #2670

RanolP opened this issue Aug 20, 2024 · 0 comments
Labels
p/medium t/bug Something isn't working triaged

Comments

@RanolP
Copy link

RanolP commented Aug 20, 2024

Context

We have set a contact email, but the email link is not functioning correctly for our customers.

Current Behavior

When I click the Contact ${email} link, it navigates to ${the-doc-url}/#/mailto:${email}, resulting in a URL like https://elements-demo.stoplight.io/?spec=https://raw.githubusercontent.com/Redocly/museum-openapi-example/main/openapi.yaml#/mailto:[email protected].

Expected Behavior

The link should directly point to mailto:${email}.

Possible Workaround/Solution

I'm unsure why the markdown renderer is appending the URL as a prefix.

Steps to Reproduce

  1. Visit the Demo with Redocly Museum API.
  2. Go to the Overview page > Additional Info section > Contact [email protected].
  3. Check the link.

Environment

  • Version used: Custom fork diverged from 48f777a, but the issue also occurs on the demo website.
  • Environment name and version (e.g., Chrome 39, Node.js 5.4): Any browser, Node 20
  • Operating System and version (desktop or mobile): Both
  • Link to your environment/workspace/project: solvedac/unofficial-documentation (Note: Contents are mainly in Korean, and no translation is planned).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p/medium t/bug Something isn't working triaged
Projects
None yet
Development

No branches or pull requests

2 participants