fix: rich text removed value avoid dispaly html string (#290)

* fix: remove value avoid dispaly html string

* fix: remove debugger
This commit is contained in:
SemmyWong 2022-04-15 00:23:05 +08:00 committed by GitHub
parent 8ca945210c
commit 5039896b16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,7 +83,7 @@ ReadPretty.Html = (props) => {
const text = convertToText(value);
const content = (
<EllipsisWithTooltip ellipsis={ellipsis} popoverContent={autop ? html : value}>
{ellipsis ? text || value : html}
{ellipsis ? text : html}
</EllipsisWithTooltip>
);
return (