diff --git a/src/components/HTMLEngineProvider/BaseHTMLEngineProvider.tsx b/src/components/HTMLEngineProvider/BaseHTMLEngineProvider.tsx index c0f42ffd2fd9..d211aac7fd4c 100755 --- a/src/components/HTMLEngineProvider/BaseHTMLEngineProvider.tsx +++ b/src/components/HTMLEngineProvider/BaseHTMLEngineProvider.tsx @@ -86,7 +86,7 @@ function BaseHTMLEngineProvider({textSelectable = false, children, enableExperim tagName: 'blockquote', contentModel: HTMLContentModel.block, getMixedUAStyles: (tnode) => { - if (tnode.attributes.isEmojisOnly === undefined) { + if (tnode.attributes.isemojisonly === undefined) { return; } return styles.onlyEmojisTextLineHeight; diff --git a/src/pages/home/report/comment/TextCommentFragment.tsx b/src/pages/home/report/comment/TextCommentFragment.tsx index 4f68919af6e2..2e64af6c534e 100644 --- a/src/pages/home/report/comment/TextCommentFragment.tsx +++ b/src/pages/home/report/comment/TextCommentFragment.tsx @@ -64,7 +64,7 @@ function TextCommentFragment({fragment, styleAsDeleted, styleAsMuted = false, so let htmlContent = htmlWithDeletedTag; if (containsOnlyEmojis) { htmlContent = Str.replaceAll(htmlContent, '', ''); - htmlContent = Str.replaceAll(htmlContent, '
', '
'); + htmlContent = Str.replaceAll(htmlContent, '
', '
'); } let htmlWithTag = editedTag ? `${htmlContent}${editedTag}` : htmlContent;