-
Notifications
You must be signed in to change notification settings - Fork 9
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
思源发版CSDN失败 #927
Labels
bug
Something isn't working
Comments
看起来是公式解析错误,能否提供一下出错的这篇文章,我排查下。方便的话,可以私发出错的这篇文档到 youweics@163.com |
您好,文件已经发送,感谢您的回复和支持
***@***.***
…------------------ 原始邮件 ------------------
发件人: "terwer/siyuan-plugin-publisher" ***@***.***>;
发送时间: 2023年12月3日(星期天) 晚上9:59
***@***.***>;
***@***.******@***.***>;
主题: Re: [terwer/siyuan-plugin-publisher] 思源发版CSDN失败 (Issue #927)
看起来是公式解析错误,能否提供一下出错的这篇文章,我排查下。方便的话,可以私发出错的这篇文档到 ***@***.***
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
您好,文件已经发送,感谢您的回复和支持 |
问题分析:发布工具使用了Cheerio对 CSDN 的 HTML 进行解析, 然后使用 katex渲染公式。但是Cheerio在处理pre节点时可能出现字符截断的问题。这是由于Cheerio默认将HTML进行简化处理的原因。为了避免这个问题,需要改成使用Cheerio的 xmlMode 选项,这样它会更保守地处理HTML。 已修复,请升级 |
terwer
added a commit
that referenced
this issue
Dec 3, 2023
terwer
added a commit
that referenced
this issue
Dec 3, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
环境版本
麻烦您看看是否是我操作有问题
The text was updated successfully, but these errors were encountered: