Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]Reply parsing with strikethrough #5789

Open
Lz020316 opened this issue Nov 8, 2024 · 4 comments
Open

[Bug]Reply parsing with strikethrough #5789

Lz020316 opened this issue Nov 8, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@Lz020316
Copy link

Lz020316 commented Nov 8, 2024

📦 部署方式

Other

📌 软件版本

最新

💻 系统环境

Windows, Other Linux

📌 系统版本

win11

🌐 浏览器

Chrome

📌 浏览器版本

latest

🐛 问题描述

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

📷 复现步骤

No response

🚦 期望结果

No response

📝 补充信息

我用的 智谱的api

@Lz020316 Lz020316 added the bug Something isn't working label Nov 8, 2024
@Issues-translate-bot
Copy link

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


Title: [Bug] Reply parsing with strikethrough

@Lz020316
Copy link
Author

Lz020316 commented Nov 8, 2024

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

@Lz020316 Lz020316 changed the title [Bug] 回复解析带着 删除线 [Bug]Reply parsing with strikethrough Nov 8, 2024
@lloydzhou
Copy link
Collaborator

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

@Issues-translate-bot
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants