]> git.lyx.org Git - lyx.git/blobdiff - src/output_xhtml.cpp
Clarify some comments.
[lyx.git] / src / output_xhtml.cpp
index eccc44e65760e7bb5b44f83048929af572230188..963bd490cae52f4d5489be1015ae1aab7ba7bb20 100644 (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.
@@ -696,7 +693,7 @@ ParagraphList::const_iterator makeEnvironmentHtml(Buffer const & buf,
                                        if (style.labeltype == LABEL_MANUAL
                                            && style.htmllabeltag() != "NONE") {
                                                openLabelTag(xs, style);
-//                                             sep = par->firstWordLyXHTML(xs, runparams);
+                                               sep = par->firstWordLyXHTML(xs, runparams);
                                                closeLabelTag(xs, style);
                                                xs.cr();
                                        }