Skip to content

Markdown parser removes colons from timestamps #26799

@paulchen

Description

@paulchen

Description:

When a message contains a time specification in format HH:MM:SS, in some cases the colons get removed.

Steps to reproduce:

  1. Write the following messages (one line per message):
10:00
10:20:30
10:30
10:30:50
10:20:30
13:51:17
10:30:51
10:31:51
10:21:51
10:20

Expected behavior:

The messages are rendered as they are written.

Actual behavior:

What gets rendered, looks like this:

10:00
102030
10:30
10:30:50
102030
135117
10:30:51
10:31:51
102151
10:20

As you can see, in some of the timestamps, the colons are missing.

image

When editing any of the messages, all missing colons are visible.

Server Setup Information:

Client Setup Information

  • Desktop App or Browser Version:
    • Chromium Version 105.0.5195.102 (Offizieller Build) Arch Linux (64-Bit)
    • Firefox 104.0.1 (64-Bit)
  • Operating System: Arch Linux

The same behaviour can be observed in the Android app as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: ui/uxRelated to UI/UX, frontend code, accessibility, and user interactionmessage rendering

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions