mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
XML: bad fix for a crash that only happened in XHTML.
As an error is output, I suppose that this behaviour is OK.
This commit is contained in:
parent
a632a9ae3c
commit
faec783822
@ -477,7 +477,8 @@ XMLStream &XMLStream::operator<<(xml::EndTag const &etag)
|
||||
+ "' when other tags were pending. Last pending tag is `"
|
||||
+ to_utf8(pending_tags_.back()->writeTag())
|
||||
+ "'. Tag discarded.");
|
||||
pending_tags_.erase(dit);
|
||||
if (!pending_tags_.empty())
|
||||
pending_tags_.erase(dit);
|
||||
return *this;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user