Unescape link preview description
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
parent
e624840718
commit
b9f9cec71a
|
@ -3,6 +3,7 @@
|
|||
|
||||
import React from 'react';
|
||||
import classNames from 'classnames';
|
||||
import { unescape } from 'lodash';
|
||||
|
||||
import { Image } from './Image';
|
||||
import { LinkPreviewDate } from './LinkPreviewDate';
|
||||
|
@ -64,7 +65,7 @@ export const StagedLinkPreview: React.FC<Props> = ({
|
|||
<div className="module-staged-link-preview__title">{title}</div>
|
||||
{description && (
|
||||
<div className="module-staged-link-preview__description">
|
||||
{description}
|
||||
{unescape(description)}
|
||||
</div>
|
||||
)}
|
||||
<div className="module-staged-link-preview__footer">
|
||||
|
|
Loading…
Reference in New Issue