Don't parse a 'mailto:' into a lbry link.
## Issue 5130: Support mailto hyperlinks / urls in markdown ## Change The markdown components already support mailto, just that the logic here ended up making it a 'ClaimLink'
This commit is contained in:
parent
a75840ab4d
commit
b35e68c6d3
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ function MarkdownLink(props: Props) {
|
|||
} catch (e) {}
|
||||
|
||||
let lbryUrlFromLink;
|
||||
if (linkUrlObject) {
|
||||
if (linkUrlObject && !href.startsWith('mailto:')) {
|
||||
const linkDomain = linkUrlObject.host;
|
||||
const isKnownAppDomainLink = KNOWN_APP_DOMAINS.includes(linkDomain);
|
||||
if (isKnownAppDomainLink) {
|
||||
|
|
Loading…
Reference in a new issue