Skip to content

ANSI codeblocks inside an embed appears buggy when the message is edited #7328

Open
@Sayrix

Description

@Sayrix

Description

When editing a message that contains an ANSI code block inside an embed, the formatting intermittently breaks. For a brief period after the edit, the raw ANSI text is displayed instead of the properly formatted version.

Steps to Reproduce

  1. Create an embed containing a code block with ANSI formatting.
  2. Edit the embed periodically (e.g., every few seconds or minutes).
  3. Observe the formatting behavior immediately after each edit.

Expected Behavior

Like in a normal message, but inside an embed.

05.January.2025.15h32m53s.2.mp4

Current Behavior

After editing the embed, the ANSI formatting breaks temporarily, showing raw, unformatted text. This behavior resolves itself after a short period.

05.January.2025.15h35m15s.2.mp4

Screenshots/Videos

No response

Client and System Information

stable 356429 (73f35b1) Build Override: N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions