RocketChat / RocketChat/Rocket.Chat

Timestamp not rendered inside strikethrough text in gazzodown

Open
#39,255 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type: bug
Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:

Timestamps inside strikethrough text are not rendered. The parser correctly produces a TIMESTAMP node inside a STRIKE node. the grammar explicitly includes TimestampRules in StrikethroughContent , but gazzodown StrikeSpan component has no render case for the TIMESTAMP type, causing it to silently return null.

Steps to reproduce:

Type this msg in chat and send it : ~<t:2026-03-02T19:07:01.807+00:00:f>~

Expected behavior:

The timestamp should be rendered inside the strikethrough, similar to how other inline
elements, Text are rendered inside strikethrough.

Actual behavior:

The timestamp vanishes completely, nothing is rendered.

Server Setup Information:
  • Version of Rocket.Chat Server: 8.3.0
Additional context
Video

https://github.com/user-attachments/assets/f2d0f299-bd53-48f0-a68a-357303f2238c

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the gazzodown StrikeSpan component and inspect how it renders the inline node types produced by the parser, especially TIMESTAMP and STRIKE content. Reproduce the issue with <t:2026-03-02T19:07:01.807+00:00:f> and verify that the timestamp remains visible inside the strikethrough.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.