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

down了master分支的代码,变笨了,html没有有效的渲染 #139

Closed
yaoyaochil opened this issue Feb 27, 2023 · 8 comments
Closed

down了master分支的代码,变笨了,html没有有效的渲染 #139

yaoyaochil opened this issue Feb 27, 2023 · 8 comments
Labels
type: bug 不好,出问题了!

Comments

@yaoyaochil
Copy link

如图所示 只有一部分代码被渲染正确
还有答非所问不知道是不是官方的问题

image

@Chanzhaoyu Chanzhaoyu added the status: terrible 听起来好像有点糟糕 label Feb 27, 2023
@Chanzhaoyu
Copy link
Owner

emmmm...

因为我一直用的是 accessToken ,所以好像忘记测试 API Key 下面的渲染问题

@yaoyaochil
Copy link
Author

这还得用两种渲染吗,我还以为api和token返回的都一样呢

@Chanzhaoyu
Copy link
Owner

这还得用两种渲染吗,我还以为api和token返回的都一样呢

api 是纯文本, token 是富文本,你目前可以在提问的时候加上用markdown的形式返回来短暂处理这个问题。

@yaoyaochil
Copy link
Author

我自己尝试修复一下吧

@waynedream
Copy link

坐等大佬修复,给大佬沏茶

@Chanzhaoyu
Copy link
Owner

会优先修复,我的问题,忘记测试了

@Chanzhaoyu Chanzhaoyu added type: bug 不好,出问题了! and removed status: terrible 听起来好像有点糟糕 labels Feb 27, 2023
@Chanzhaoyu
Copy link
Owner

暂时没有找到好的判断 API 版本返回纯文本所包含代码该渲染成什么格式的问题,可能会延长延长延长延长延长延长,直到我研究出来

Chanzhaoyu added a commit that referenced this issue Feb 28, 2023
* fix: 修复普通文本代码渲染和深色模式下的问题[#139][#154]

* chore: version 2.8.2
@Chanzhaoyu
Copy link
Owner

hello,2.8.2已调整,你再试一下,不过因为 API 返回的是纯文本,所以可能只有一部分代码会高亮

suikodev referenced this issue in AstraSurge/gpteams Mar 27, 2023
* fix: 修复普通文本代码渲染和深色模式下的问题[#139][#154]

* chore: version 2.8.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug 不好,出问题了!
Projects
None yet
Development

No branches or pull requests

3 participants