thunderbird / thunderbird/thunderbird-android

Using "---" in an email draft results in text replacement and removed linebreak

Open
#4,963 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
14k
Forks
2.8k
Avg merge
3d 3h
Merged PRs (30d)
57

Description

When you type three dashes in an email draft, save the draft and re-open it, it's replaced with a full-length line of underscores, and removes a linebreak.

To Reproduce
Start a new email draft. Write

Line 1
---
Line 2

Save the draft and re-open it.
It becomes

Line 1_____________________________________________
Line 2

Expected behavior
Keep text as-is

Environment (please complete the following information):

  • K-9 Mail version: 5.6
  • Android version: 10
  • Device: LG G8
  • Account type: imap

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

No source files or tests are named. Start by reproducing the draft save-and-reopen flow on Android with the provided three-line example, then trace where draft text is transformed during saving or loading. Done means the dashes and linebreak remain unchanged after reopening the draft.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.