Add a comment about synchronizing the event stack

This commit is contained in:
Eric Huss
2025-11-05 11:45:46 -08:00
parent 22065ebc79
commit f0117ec3df

View File

@@ -307,6 +307,8 @@ where
match event {
Event::Start(tag) => self.start_tag(tag),
Event::End(tag) => {
// TODO: This should validate that the event stack is
// properly synchronized with the tag stack.
self.pop();
match tag {
TagEnd::TableHead => {