These add extra whitespace where we don't want it.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32529 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2009-12-14 16:45:11 +00:00
parent 505cccfe7d
commit 673858b182

View File

@ -381,7 +381,6 @@ XHTMLStream & XHTMLStream::operator<<(EndTag const & etag)
if (etag.tag_ == tag_stack_.back().tag_) {
// output it...
os_ << etag.asEndTag();
cr();
// ...and forget about it
tag_stack_.pop_back();
return *this;
@ -424,14 +423,12 @@ XHTMLStream & XHTMLStream::operator<<(EndTag const & etag)
TagStack fontstack;
while (curtag.tag_ != etag.tag_) {
os_ << curtag.asEndTag();
cr();
fontstack.push_back(curtag);
tag_stack_.pop_back();
curtag = tag_stack_.back();
}
// now close our tag...
os_ << etag.asEndTag();
cr();
tag_stack_.pop_back();
// ...and restore the other tags.