Release/v0.8.1 - #9
Merged
Merged
Conversation
飞书大纲/折叠场景下,任意叶子块(todo/heading/quote/equation/code/image 等) 都可能携带 children,原实现只让容器型 parser 消费 children,导致这些子块被 静默丢弃,导出文档章节内容缺失。 - 通用修复:叶子块未自行消费的 children 统一挂到 node.blocks,序列化时在 节点自身内容之后渲染;容器型 parser 标记 consumesChildren 避免重复挂载 - 未支持块类型不再整块丢弃:回退为 paragraph(尽量提取文本),并保留其嵌套 子树;既无文本也无子块时才丢弃 - 修复 extractBodyText 截断:回退内容使用完整文本,80 字截断仅用于日志预览 Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.