mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-08 10:51:03 +00:00
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:
parent
505cccfe7d
commit
673858b182
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user