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:
Thibaut Cuvelier 2020-09-11 00:39:41 +02:00
parent a632a9ae3c
commit faec783822

View File

@ -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;
}
}