Skip to content

Collapsed preview shows the Macro email signature as plain-text markdown #5668

Description

@cameronapak

Summary

I sent an email from Macro. My Macro signature is part of that message.

The collapsed preview of the sent message shows the signature as plain-text markdown characters.

The expanded message shows the signature correctly.

Result

The preview shows this text:

*— from [Cam Pak]* *[faith.tools] • [dotflowy.com]*

Scope

I saw this problem with my own signature in a collapsed sent message.

Other markdown content in a preview can have the same problem. This is speculation, because I did not test other content.

Steps to reproduce

  1. Add a Macro email signature that has styled text and links.
  2. Send an email from Macro.
  3. Open the sent message in the email thread.
  4. Expand the message and read the correct signature.
  5. Collapse the message.
  6. Read the preview text.

Expected result

The preview shows the signature as readable text:

— from Cam Pak faith.tools • dotflowy.com

The preview does not need styles or links.

Acceptance criteria

  • The preview does not show markdown characters from the signature.
  • The preview shows the link text as readable text.
  • Truncation does not show a part of a markdown character sequence.
  • The expanded message does not change.

Optional idea

This section is a suggestion, not a requirement. I trust the Macro team to select the best solution for this codebase.

Make the preview from a plain-text form of the rendered content. Then truncate that text.

Related

Issue #5667 reports a different problem in the collapsed preview. The two problems are separate.

Screenshot

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions