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] html 处理导致代码块切分异常 #5557

Closed
QAbot-zh opened this issue Sep 27, 2024 · 2 comments
Closed

[Bug] html 处理导致代码块切分异常 #5557

QAbot-zh opened this issue Sep 27, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@QAbot-zh
Copy link

QAbot-zh commented Sep 27, 2024

📦 部署方式

Vercel

📌 软件版本

v2.15.3

💻 系统环境

Windows

📌 系统版本

windows 10

🌐 浏览器

Chrome

📌 浏览器版本

127.0.6533.100

🐛 问题描述

当代码块为 html 的时候,会忽略结尾的 ``` 控制符,导致它被解析为下一个代码块进行渲染,和 artifacts 无关,关闭 artifacts 渲染也无法正确解析渲染:

image

Clip_2024-09-27_23-10-15

非 html 代码块,正常渲染:

image

image

📷 复现步骤

使用 ``` 控制符生成 html 代码块

🚦 期望结果

正常渲染,不要把正文渲染成代码块,提升可读性

📝 补充信息

No response

@QAbot-zh QAbot-zh added the bug Something isn't working label Sep 27, 2024
@Issues-translate-bot
Copy link

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


Title: [Bug] html processing causes code block segmentation exception

@Issues-translate-bot
Copy link

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


image
Just uncheck this option in the settings interface

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