From: Richard Heck Date: Thu, 19 Nov 2009 21:56:08 +0000 (+0000) Subject: Whoops. X-Git-Tag: 2.0.0~5085 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=a8ba7cc7222f315f5dab0e400e49798a7e0ed7f6;p=features.git Whoops. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32099 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/output_xhtml.cpp b/src/output_xhtml.cpp index 8eabbc19ab..ecc4220e5b 100644 --- a/src/output_xhtml.cpp +++ b/src/output_xhtml.cpp @@ -143,6 +143,8 @@ void XHTMLStream::writeError(std::string const & s) bool XHTMLStream::closeFontTags() { + if (tag_stack_.empty()) + return true; // first, we close any open font tags we can close StartTag curtag = tag_stack_.back(); while (html::isFontTag(curtag.tag_)) {