mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +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 `"
|
+ "' when other tags were pending. Last pending tag is `"
|
||||||
+ to_utf8(pending_tags_.back()->writeTag())
|
+ to_utf8(pending_tags_.back()->writeTag())
|
||||||
+ "'. Tag discarded.");
|
+ "'. Tag discarded.");
|
||||||
pending_tags_.erase(dit);
|
if (!pending_tags_.empty())
|
||||||
|
pending_tags_.erase(dit);
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user