fix: emit cloze event in Traverse (#79)

This commit is contained in:
PoiScript 2024-06-11 14:48:39 +08:00
parent eab9eb68ec
commit 13ebef05d2
No known key found for this signature in database
GPG key ID: 22C2B1249D99985E

View file

@ -199,6 +199,8 @@ pub trait Traverser {
SUBSCRIPT => walk!(Subscript),
KEYWORD => walk!(Keyword),
PROPERTY_DRAWER => walk!(PropertyDrawer),
#[cfg(feature = "syntax-org-fc")]
CLOZE => walk!(@Cloze),
BLOCK_CONTENT | LIST_ITEM_CONTENT => {
for child in node.children_with_tokens() {
self.element(child, ctx);