Skip to content

Commit f0117ec

Browse files
committed
Add a comment about synchronizing the event stack
1 parent 22065eb commit f0117ec

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crates/mdbook-html/src/html/tree.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,8 @@ where
307307
match event {
308308
Event::Start(tag) => self.start_tag(tag),
309309
Event::End(tag) => {
310+
// TODO: This should validate that the event stack is
311+
// properly synchronized with the tag stack.
310312
self.pop();
311313
match tag {
312314
TagEnd::TableHead => {

0 commit comments

Comments
 (0)