RocketChat / RocketChat/Rocket.Chat
Timestamp not rendered inside strikethrough text in gazzodown
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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