ChatGPTNextWeb / ChatGPTNextWeb/NextChat

The parse of markdown full-width colon is wrong. markdown文档的全角冒号解析错误

Open
#4,785 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
88.8k
Forks
59.1k
PR merge metrics
No merged PRs in 30d

Description

### Bug Description

The parse of markdown full-width colon is wrong.
markdown文档的全角冒号解析错误。
google gemini的中文markdown输出经常包含全角冒号,只要遇到如下图的情况,全角冒号解析错误就是错误的。

### Steps to Reproduce

![image](https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/assets/25239174/90668354-a0e8-4a23-a831-22d04dac1608)

### Expected Behavior

![image](https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/assets/25239174/8334f323-aeab-490e-a725-44edc915d718)

### Screenshots

![image](https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/assets/25239174/65e3dc68-dfa6-4164-b9b6-b3e511bbaee6)

### Deployment Method

- [ ] Docker
- [ ] Vercel
- [ ] Server

### Desktop OS

Windows 10

### Desktop Browser

Chrome

### Desktop Browser Version

NA

### Smartphone Device

N/A

### Smartphone OS

N/A

### Smartphone Browser

N/A

### Smartphone Browser Version

N/A

### Additional Logs

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.