From 51759a64f9ddea1814983c6d2f88d645876cc496 Mon Sep 17 00:00:00 2001 From: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com> Date: Fri, 4 Mar 2022 11:02:36 -0800 Subject: [PATCH] Unescape link preview description --- ts/components/conversation/StagedLinkPreview.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ts/components/conversation/StagedLinkPreview.tsx b/ts/components/conversation/StagedLinkPreview.tsx index a84bbc8fc03..072a6e2e5df 100644 --- a/ts/components/conversation/StagedLinkPreview.tsx +++ b/ts/components/conversation/StagedLinkPreview.tsx @@ -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 = ({
{title}
{description && (
- {description} + {unescape(description)}
)}