microsoft / microsoft/BotFramework-WebChat

Mailto links - External link icon inconsistent display

Open
#3,963 3 comments 0 reactions 1 assignee View on GitHub

@compulim is already working on this.

Since Jun 25, 2021.

Bot Services bug customer-replied-to customer-reported ExemptFromDailyDRIReport
Dominant language
HTML
Stars
1.8k
Forks
1.6k
Avg merge
22h 58m
Merged PRs (30d)
2

Description

Screenshots

Message with a single mailto link:
image

Message with hyperlink and mailto link:
image

Version

<meta name="botframework-directlinespeech:version" content="4.13.0">
<meta name="botframework-webchat:bundle:variant" content="full-es5">
<meta name="botframework-webchat:bundle:version" content="4.13.0">
<meta name="botframework-webchat:core:version" content="4.13.0">
<meta name="botframework-webchat:ui:version" content="4.13.0">

Describe the bug

If a single mailto link is used in a message it displays without the external link icon. If more links are added, the icon is also added to the mailto link.

Steps to reproduce

  1. Get bot to send a message containing a single mailto link.
  2. Mailto link is formatted without external link icon.
  3. Get bot to send a message with mailto and standard hyperlinks.
  4. All links including mailto have the external link icon.

Expected behavior

I'm not sure of the expected behavious of mailto links, if they should or should not show the icon, but the displaying of the icon should be consistent.

Additional context

[Bug]

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.