NextAlone / NextAlone/Nagram-iOS
消息不能正常解析换行
Open
Nobody has claimed this yet.
bug
- Dominant language
- Swift
- Stars
- 111
- Forks
- 19
- Avg merge
- 4d 21h
- Merged PRs (30d)
- 6
Description
Checklist
- I am reporting an issue in existing functionality that does not work as intended
- I've searched for existing GitHub issues
Description
在发送多行消息时,换行被转换为空格
Expected Behavior
正常展示换行
Actual Behavior
换行被转为空格,多个换行亦被转换为多个空格
Steps to Reproduce
- 在群组/频道中,输入多行文本
- 发送后,换行被转为空格
Screenshots and Videos
https://github.com/user-attachments/assets/01847580-8037-4a29-a285-180ba1011a45
Environment
Device: iPhone 17
iOS version: 27.0
App version: TF Version
Additional hint
只在群聊/频道内 100%复现,单聊未能复现
问题,edit 时同时有效
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
Start by reproducing the issue on iPhone in a group or channel with a multi-line message, then compare the result with a one-to-one chat and with message editing. Trace the message handling path responsible for group and channel text, and verify that single and multiple line breaks remain line breaks after sending and editing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100