From a8ba7cc7222f315f5dab0e400e49798a7e0ed7f6 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Thu, 19 Nov 2009 21:56:08 +0000 Subject: [PATCH] Whoops. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32099 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/output_xhtml.cpp | 2 ++ 1 file changed, 2 insertions(+) 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_)) { -- 2.39.2