Skip to content

fix: 修复 CSDN JSON 代码块格式错乱问题#184

Open
qiancheng8 wants to merge 1 commit into
wechatsync:v2from
qiancheng8:v2
Open

fix: 修复 CSDN JSON 代码块格式错乱问题#184
qiancheng8 wants to merge 1 commit into
wechatsync:v2from
qiancheng8:v2

Conversation

@qiancheng8
Copy link
Copy Markdown

从 LINE_CONTAINER_TAGS 移除 SPAN,避免 Prism.js 高亮后的 token span 被误判为"每行一个元素"的多行结构,导致 JSON 每个 token 各占一行。
同时优化表格单元格内容规范化(normalizeCellContent)。

从 LINE_CONTAINER_TAGS 移除 SPAN,避免 Prism.js 高亮后的 token span
被误判为"每行一个元素"的多行结构,导致 JSON 每个 token 各占一行。
同时优化表格单元格内容规范化(normalizeCellContent)。

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@lljxx1
Copy link
Copy Markdown
Member

lljxx1 commented May 15, 2026

@qiancheng8 hi 可以补充下你这个case里的原始数据和非这个case的数据例子以便测试吗?

@qiancheng8
Copy link
Copy Markdown
Author

@qiancheng8 hi 可以补充下你这个case里的原始数据和非这个case的数据例子以便测试吗?

这个是我的测试 页面:https://mp.weixin.qq.com/s/BmbekkQ9rbNjToQeq6XIrw
用最新的插件表格和代码都会乱,本地编译的可以正常展示内容。

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

Successfully merging this pull request may close these issues.

2 participants