diff --git a/src/components/HTMLEngineProvider/HTMLRenderers/EditedRenderer.js b/src/components/HTMLEngineProvider/HTMLRenderers/EditedRenderer.js index 478b03b40f0d..b79ca3f54dbf 100644 --- a/src/components/HTMLEngineProvider/HTMLRenderers/EditedRenderer.js +++ b/src/components/HTMLEngineProvider/HTMLRenderers/EditedRenderer.js @@ -15,13 +15,14 @@ const propTypes = { const EditedRenderer = (props) => { const defaultRendererProps = _.omit(props, ['TDefaultRenderer', 'style', 'tnode']); + const isPendingDelete = Boolean(props.tnode.attributes.deleted !== undefined); return ( {/* Native devices do not support margin between nested text */} { // Only render HTML if we have html in the fragment if (!differByLineBreaksOnly) { const isPendingDelete = props.pendingAction === CONST.RED_BRICK_ROAD_PENDING_ACTION.DELETE && props.network.isOffline; - const editedTag = props.fragment.isEdited ? '' : ''; + const editedTag = props.fragment.isEdited ? `` : ''; const htmlContent = applyStrikethrough(html + editedTag, isPendingDelete); return ${htmlContent}` : `${htmlContent}`} />; @@ -125,7 +125,7 @@ const ReportActionItemFragment = (props) => {