ChatGPTNextWeb / ChatGPT-Next-Web

A cross-platform ChatGPT/Gemini UI (Web / PWA / Linux / Win / MacOS). 一键拥有你自己的跨平台 ChatGPT/Gemini 应用。
https://app.nextchat.dev/
MIT License
77.1k stars 59.41k forks source link

[Bug]Reply parsing with strikethrough #5789

Open Lz020316 opened 3 weeks ago

Lz020316 commented 3 weeks ago

📦 部署方式

Other

📌 软件版本

最新

💻 系统环境

Windows, Other Linux

📌 系统版本

win11

🌐 浏览器

Chrome

📌 浏览器版本

latest

🐛 问题描述

image 后面画红线的是我自己加的,但是前半句被加了 删除线,

📷 复现步骤

No response

🚦 期望结果

No response

📝 补充信息

我用的 智谱的api

Issues-translate-bot commented 3 weeks ago

Bot detected the issue body's language is not English, translate it automatically.


Title: [Bug] Reply parsing with strikethrough

Lz020316 commented 3 weeks ago

It should be a problem with~. In Chinese,~is a punctuation mark, but in markdown,~marks the beginning and end of a strikethrough. This is a parsing bug that needs to be fixed

lloydzhou commented 3 weeks ago

这个不好处理,并不能很好的识别这个字符的意义。 当前的消息是使用markdown渲染的,默认会识别成删除线。

Issues-translate-bot commented 3 weeks ago

Bot detected the issue body's language is not English, translate it automatically.


This is difficult to deal with, and the meaning of this character cannot be well recognized. The current message is rendered using markdown and will be recognized as strikethrough by default.