elements icon indicating copy to clipboard operation
elements copied to clipboard

Bug: Contact email links to incorrect URL

Open RanolP opened this issue 1 year ago • 0 comments

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 48f777a0e492dd9508a10b7976ec7d9d42ce70c4, 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).

RanolP avatar Aug 20 '24 17:08 RanolP