ant-design / ant-design/pro-chat
🧐[问题] 换行和html标签问题
Open
documentation
- Dominant language
- TypeScript
- Stars
- 898
- Forks
- 116
- PR merge metrics
- No merged PRs in 30d
Description
### 🧐 问题描述
返回消息中 含有/n换行, 或者有html标签,应该用什么去实现?
如下图所示,期望文本可以换行,请明示,谢谢
### 💻 示例代码

Contributor guide
No contributing guide indexed for this repository
Research direction
No source file, test, or entry point is named. Start by reproducing the reported newline and HTML rendering behavior from the example and linked screenshot, then identify the chat rendering entry point; completion requires a confirmed expected rendering behavior and a corresponding regression test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100