mirror of
https://github.com/jezhiggins/arabica
synced 2025-01-17 18:12:04 +01:00
Bugfix: flush buffer on startEntity/endEntity
This commit is contained in:
parent
7f99fa0b1e
commit
c4d237e97b
1 changed files with 13 additions and 0 deletions
|
@ -82,6 +82,19 @@ public:
|
|||
XMLFilterT::comment(text);
|
||||
} // comment
|
||||
|
||||
virtual void startEntity(const string_type& name)
|
||||
{
|
||||
flush();
|
||||
XMLFilterT::startEntity(name);
|
||||
} // startEntity
|
||||
|
||||
virtual void endEntity(const string_type& name)
|
||||
{
|
||||
flush();
|
||||
XMLFilterT::endEntity(name);
|
||||
} // endEntity
|
||||
|
||||
|
||||
private:
|
||||
void flush()
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue