mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-28 14:50:08 +03:00
parent
efcff0d67e
commit
3220ba29d2
@ -69,7 +69,7 @@ const Template = () => ({
|
||||
const RenderDescription = ({ description = '' }) => (
|
||||
<p>{(sanitize`${description}`)?.split(' ').map((string, idx) =>
|
||||
isExternalURL(string)
|
||||
? <Link key={`link-${idx}`} color='textPrimary' href={string}>{string}</Link>
|
||||
? <Link key={`link-${idx}`} color='textPrimary' target='_blank' href={string}>{string}</Link>
|
||||
: ` ${string}`
|
||||
)}</p>
|
||||
)
|
||||
|
@ -76,7 +76,7 @@ const Template = () => ({
|
||||
const RenderDescription = ({ description = '' }) => (
|
||||
<p>{(sanitize`${description}`)?.split(' ').map((string, idx) =>
|
||||
isExternalURL(string)
|
||||
? <Link key={`link-${idx}`} color='textPrimary' href={string}>{string}</Link>
|
||||
? <Link key={`link-${idx}`} color='textPrimary' target='_blank' href={string}>{string}</Link>
|
||||
: ` ${string}`
|
||||
)}</p>
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user