Fix messages white-space

Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
Ajay Bura 2021-12-12 18:45:43 +05:30
parent 88a988d876
commit e2b347c783
2 changed files with 8 additions and 4 deletions

View file

@ -169,7 +169,7 @@ const MessageBody = React.memo(({
const content = isCustomHTML
? twemojify(sanitizeCustomHtml(body), undefined, true, false)
: twemojify(body, undefined, true);
: <p>{twemojify(body, undefined, true)}</p>;
return (
<div className="message__body">