]> git.lyx.org Git - lyx.git/blobdiff - src/output_xhtml.cpp
Shortcut for LyX HTML output. (Makes my life easier!)
[lyx.git] / src / output_xhtml.cpp
index 01d57218b2b3162c493b950a0be1edc555024547..2db915cd94568ee7c05c6f5e5260cc377798532d 100644 (file)
@@ -619,9 +619,15 @@ ParagraphList::const_iterator makeEnvironmentHtml(Buffer const & buf,
                                        }
                                        if (labelfirst)
                                                openItemTag(xs, style);
+                                       else
+                                               // FIXME This should probalby be put into the layout file rather 
+                                               // than hardcoded.
+                                               xs << StartTag("span", "class='" + to_utf8(style.name()) + "_inneritem'");
                                }
                                par->simpleLyXHTMLOnePar(buf, xs, runparams, 
                                        text.outerFont(distance(begin, par)), sep);
+                               if (!isNormalEnv(style) && !labelfirst)
+                                       xs << EndTag("span");
                                ++par;
                                // We may not want to close the tag yet, in particular,
                                // if we're not at the end...