X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Foutput_xhtml.cpp;h=fdf8681b56b8964946bbf3da2b89bbb8f2b3d412;hb=2098f1d8c20d51e63e670bcdc9da8996068975bf;hp=963bd490cae52f4d5489be1015ae1aab7ba7bb20;hpb=673858b182b56c0b4c1d725683db56303694e6ce;p=lyx.git diff --git a/src/output_xhtml.cpp b/src/output_xhtml.cpp index 963bd490ca..fdf8681b56 100644 --- a/src/output_xhtml.cpp +++ b/src/output_xhtml.cpp @@ -238,7 +238,6 @@ void XHTMLStream::clearTagDeque() StartTag const & tag = pending_tags_.front(); // tabs? os_ << tag.asTag(); - cr(); tag_stack_.push_back(tag); pending_tags_.pop_front(); } @@ -672,7 +671,6 @@ ParagraphList::const_iterator makeEnvironmentHtml(Buffer const & buf, closeItemTag(xs, *lastlay); lastlay = 0; } - bool const labelfirst = style.htmllabelfirst(); if (isNormalEnv(style)) { // in this case, we print the label only for the first // paragraph (as in a theorem). @@ -688,6 +686,7 @@ ParagraphList::const_iterator makeEnvironmentHtml(Buffer const & buf, xs.cr(); } } else { // some kind of list + bool const labelfirst = style.htmllabelfirst(); if (!labelfirst) openItemTag(xs, style); if (style.labeltype == LABEL_MANUAL