mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
prevent exception on unhandled attributes
This commit is contained in:
parent
bf3e278ea1
commit
954f4b84cd
|
@ -2558,6 +2558,7 @@ void xlsx_consumer::expect_start_element(const xml::qname &name, xml::content co
|
|||
|
||||
void xlsx_consumer::expect_end_element(const xml::qname &name)
|
||||
{
|
||||
parser().attribute_map();
|
||||
parser().next_expect(xml::parser::event_type::end_element, name);
|
||||
stack_.pop_back();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user