microsoft / microsoft/BotFramework-WebChat
Mailto links - External link icon inconsistent display
Open
@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:

Message with hyperlink and mailto link:

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
- Get bot to send a message containing a single mailto link.
- Mailto link is formatted without external link icon.
- Get bot to send a message with mailto and standard hyperlinks.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.