mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix(post): edited timestamp showed html on mobile
This commit is contained in:
@@ -202,7 +202,12 @@ const PostMessageMobile = ({ post }: PostProps) => {
|
|||||||
<span className={styles.editedInfo}>
|
<span className={styles.editedInfo}>
|
||||||
{showOriginal && <Markdown content={original?.content} />}
|
{showOriginal && <Markdown content={original?.content} />}
|
||||||
<br />
|
<br />
|
||||||
{t('comment_edited_at_timestamp', { timestamp: getFormattedDate(edit?.timestamp), interpolation: { escapeValue: false } })}{' '}
|
<Trans
|
||||||
|
i18nKey={'comment_edited_at_timestamp'}
|
||||||
|
values={{ timestamp: getFormattedDate(edit?.timestamp) }}
|
||||||
|
shouldUnescape={true}
|
||||||
|
components={{ 1: <Tooltip content={getFormattedTimeAgo(edit?.timestamp)} children={<></>} /> }}
|
||||||
|
/>{' '}
|
||||||
{reason && <>{t('reason_reason', { reason: reason, interpolation: { escapeValue: false } })} </>}
|
{reason && <>{t('reason_reason', { reason: reason, interpolation: { escapeValue: false } })} </>}
|
||||||
{showOriginal ? (
|
{showOriginal ? (
|
||||||
<Trans
|
<Trans
|
||||||
|
|||||||
Reference in New Issue
Block a user