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

Code框体内部内容被非正确转义 #1339

Open
ESunsui opened this issue Mar 6, 2025 · 0 comments
Open

Code框体内部内容被非正确转义 #1339

ESunsui opened this issue Mar 6, 2025 · 0 comments

Comments

@ESunsui
Copy link

ESunsui commented Mar 6, 2025

Describe the bug
A clear and concise description of what the bug is.

当Code包裹的的内容包含特殊字符时,返回的结果会被hljs不正确的显示。
点击代码框的Copy按钮会返回错误的内容。
点击聊天气泡的复制时会返回正确的内容。

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser Chrome 133.0.6943.142
  • ChatHub Version v3.74.0

**简单复现

我说什么,你在代码框里回答什么。如果你明白了,返回Yes
-- Yes

‘[[^\]]+]’
-- ‘$$[^$$]+]’

(If Copy)

\[[^\]]+\]

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant