mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-08-27 07:23:31 +00:00
disable link prompts
This commit is contained in:
parent
e406c2fdf5
commit
24edbc085c
5 changed files with 7 additions and 7 deletions
|
@ -28,14 +28,14 @@ function ChannelContent(props: Props) {
|
||||||
<Fragment>
|
<Fragment>
|
||||||
{description && (
|
{description && (
|
||||||
<div className="media__info-text media__info-text--constrained">
|
<div className="media__info-text media__info-text--constrained">
|
||||||
<MarkdownPreview content={description} promptLinks />
|
<MarkdownPreview content={description} />
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
{email && (
|
{email && (
|
||||||
<Fragment>
|
<Fragment>
|
||||||
<label>{__('Contact')}</label>
|
<label>{__('Contact')}</label>
|
||||||
<div className="media__info-text">
|
<div className="media__info-text">
|
||||||
<MarkdownPreview content={formatEmail(email)} promptLinks />
|
<MarkdownPreview content={formatEmail(email)} />
|
||||||
</div>
|
</div>
|
||||||
</Fragment>
|
</Fragment>
|
||||||
)}
|
)}
|
||||||
|
@ -43,7 +43,7 @@ function ChannelContent(props: Props) {
|
||||||
<Fragment>
|
<Fragment>
|
||||||
<label>{__('Site')}</label>
|
<label>{__('Site')}</label>
|
||||||
<div className="media__info-text">
|
<div className="media__info-text">
|
||||||
<MarkdownPreview content={website} promptLinks />
|
<MarkdownPreview content={website} />
|
||||||
</div>
|
</div>
|
||||||
</Fragment>
|
</Fragment>
|
||||||
)}
|
)}
|
||||||
|
|
|
@ -35,7 +35,7 @@ function Comment(props: Props) {
|
||||||
<div>
|
<div>
|
||||||
<Expandable>
|
<Expandable>
|
||||||
<div className={'comment__message'}>
|
<div className={'comment__message'}>
|
||||||
<MarkdownPreview content={message} promptLinks />
|
<MarkdownPreview content={message} />
|
||||||
</div>
|
</div>
|
||||||
</Expandable>
|
</Expandable>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -45,7 +45,7 @@ class FileDetails extends PureComponent<Props> {
|
||||||
{description && (
|
{description && (
|
||||||
<Fragment>
|
<Fragment>
|
||||||
<div className="media__info-text">
|
<div className="media__info-text">
|
||||||
<MarkdownPreview content={description} promptLinks />
|
<MarkdownPreview content={description} />
|
||||||
</div>
|
</div>
|
||||||
</Fragment>
|
</Fragment>
|
||||||
)}
|
)}
|
||||||
|
|
|
@ -44,7 +44,7 @@ class PreviewLink extends React.PureComponent<Props> {
|
||||||
<span className={'claim-preview-properties'}>
|
<span className={'claim-preview-properties'}>
|
||||||
<span className={'preview-link__description media__subtitle'}>
|
<span className={'preview-link__description media__subtitle'}>
|
||||||
<TruncatedText lines={2} showTooltip={false}>
|
<TruncatedText lines={2} showTooltip={false}>
|
||||||
<MarkdownPreview content={description} promptLinks strip />
|
<MarkdownPreview content={description} strip />
|
||||||
</TruncatedText>
|
</TruncatedText>
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
|
|
|
@ -86,7 +86,7 @@ class DocumentViewer extends React.PureComponent<Props, State> {
|
||||||
const markdownType = ['md', 'markdown'];
|
const markdownType = ['md', 'markdown'];
|
||||||
if (markdownType.includes(fileType) || contentType === 'text/markdown' || contentType === 'text/md') {
|
if (markdownType.includes(fileType) || contentType === 'text/markdown' || contentType === 'text/md') {
|
||||||
// Render markdown
|
// Render markdown
|
||||||
viewer = <MarkdownPreview content={content} promptLinks />;
|
viewer = <MarkdownPreview content={content} />;
|
||||||
} else {
|
} else {
|
||||||
// Render plain text
|
// Render plain text
|
||||||
viewer = <CodeViewer value={content} contentType={contentType} theme={theme} />;
|
viewer = <CodeViewer value={content} contentType={contentType} theme={theme} />;
|
||||||
|
|
Loading…
Add table
Reference in a new issue