fix simpleLinks in MarkdownLink
This commit is contained in:
parent
6c6dacb195
commit
33bf50e91b
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ function MarkdownLink(props: Props) {
|
||||||
// Return plain text if no valid url
|
// Return plain text if no valid url
|
||||||
// Return external link if protocol is http or https
|
// Return external link if protocol is http or https
|
||||||
// Return local link if protocol is lbry uri
|
// Return local link if protocol is lbry uri
|
||||||
if ((protocol && protocol[0] === 'lbry:' && isURIValid(decodedUri)) || lbryUrlFromLink) {
|
if (!simpleLinks && ((protocol && protocol[0] === 'lbry:' && isURIValid(decodedUri)) || lbryUrlFromLink)) {
|
||||||
element = (
|
element = (
|
||||||
<ClaimLink
|
<ClaimLink
|
||||||
uri={lbryUrlFromLink || decodedUri}
|
uri={lbryUrlFromLink || decodedUri}
|
||||||
|
|
Loading…
Reference in a new issue