]> git.lyx.org Git - lyx.git/blobdiff - src/output_xhtml.cpp
HTML for math fonts.
[lyx.git] / src / output_xhtml.cpp
index 1e57a28c45c0e25097fc1763b6f59c456c05a896..eb21773e312f5f3791023afa82746e9484f2fe3d 100644 (file)
@@ -699,7 +699,7 @@ ParagraphList::const_iterator makeEnvironmentHtml(Buffer const & buf,
                                        openItemTag(xs, style);
                                        if (par == pbegin && style.htmllabeltag() != "NONE") {
                                                docstring const lbl = 
-                                                               pbegin->expandLabel(style, buf.params(), false);
+                                                               pbegin->params().labelString();
                                                if (!lbl.empty()) {
                                                        openLabelTag(xs, style);
                                                        xs << lbl;
@@ -721,7 +721,7 @@ ParagraphList::const_iterator makeEnvironmentHtml(Buffer const & buf,
                                        else if (style.labeltype != LABEL_NO_LABEL
                                                 && style.htmllabeltag() != "NONE") {
                                                openLabelTag(xs, style);
-                                               xs << par->expandLabel(style, buf.params(), false);
+                                               xs << par->params().labelString();
                                                closeLabelTag(xs, style);
                                                xs.cr();
                                        }
@@ -794,7 +794,7 @@ void makeCommand(Buffer const & buf,
        // FIXME Probably need to account for LABEL_MANUAL
        if (style.labeltype != LABEL_NO_LABEL) {
                openLabelTag(xs, style);
-               xs << pbegin->expandLabel(style, buf.params());
+               xs << pbegin->params().labelString();
                closeLabelTag(xs, style);
                // Otherwise the label might run together with the text
                xs << from_ascii(" ");