Skip to content

Release/v0.8.1 - #9

Merged
Byte-n merged 3 commits into
mainfrom
release/v0.8.1
Aug 14, 2026
Merged

Byte-n merged 3 commits into
mainfrom
release/v0.8.1

Conversation

@Byte-n

@Byte-n Byte-n commented Aug 14, 2026

Copy link
Copy Markdown
Owner

No description provided.

Byte-n and others added 3 commits August 14, 2026 15:26
飞书大纲/折叠场景下,任意叶子块(todo/heading/quote/equation/code/image 等)
都可能携带 children,原实现只让容器型 parser 消费 children,导致这些子块被
静默丢弃,导出文档章节内容缺失。

- 通用修复:叶子块未自行消费的 children 统一挂到 node.blocks,序列化时在
  节点自身内容之后渲染;容器型 parser 标记 consumesChildren 避免重复挂载
- 未支持块类型不再整块丢弃:回退为 paragraph(尽量提取文本),并保留其嵌套
  子树;既无文本也无子块时才丢弃
- 修复 extractBodyText 截断:回退内容使用完整文本,80 字截断仅用于日志预览

Co-Authored-By: Claude <noreply@anthropic.com>
@Byte-n
Byte-n merged commit 31a1deb into main Aug 14, 2026
1 check passed
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.

1 participant