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 Report] 流模式下最后一段如果是代码片段,关闭标签会被渲染到代码中 #1093

Closed
2 of 3 tasks
BaiXiaoguangEx opened this issue Mar 20, 2025 · 1 comment
Assignees
Labels
🐞bug Something isn't working

Comments

@BaiXiaoguangEx
Copy link

BaiXiaoguangEx commented Mar 20, 2025

Prerequisites

Version

v 0.8.58

Reproduction Link

https://github.com/Tencent/cherry-markdown/blob/main/examples/scripts/ai-chat-demo.js

Describe the Bug

下方代码块如果放到最后,就会出现这个问题。

``` python
import pygame

# 初始化pygame
pygame.init()

# 设置窗口大小
window_size = (800, 600)

# 创建窗口
screen = pygame.display.set_mode(window_size)

# 设置窗口标题
pygame.display.set_caption("My First Game")

# 游戏循环
running = True
while running:
# 处理事件
for event in pygame.event.get():
if event.type == pygame.QUIT:
running = False

# 更新屏幕内容
screen.fill((0, 0, 0)) # 填充黑色背景

# 绘制图形(此处留空,可以根据需要添加)

# 刷新屏幕
pygame.display.flip()

# 退出pygame
pygame.quit()
```

Image

System Information

Contributing

None

@BaiXiaoguangEx BaiXiaoguangEx added pending-no-confirmed The direction of this issue has not yet been determined. 🐞bug Something isn't working labels Mar 20, 2025
@sunsonliu sunsonliu removed the pending-no-confirmed The direction of this issue has not yet been determined. label Mar 21, 2025
@sunsonliu sunsonliu self-assigned this Mar 21, 2025
Copy link

📦 cherry-markdown dev preview published
⚠️ 注意: 此版本为开发预览版,禁止在生产环境使用!
⚠️ Note: This version is a developer preview and should not be used in production environments!

Install NPM with :

npm install @cherry-markdown/cherry-markdown-dev@0.8.58-dev.202503241221.67eb094

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

2 participants