]> git.lyx.org Git - features.git/commitdiff
This inner tag thing turns out to be a bad idea, since so few things are
authorRichard Heck <rgheck@comcast.net>
Thu, 19 Nov 2009 22:58:32 +0000 (22:58 +0000)
committerRichard Heck <rgheck@comcast.net>
Thu, 19 Nov 2009 22:58:32 +0000 (22:58 +0000)
allowed to go inside <span>. Probably we don't need it anyway.

The User's Guide now exports as valid XHTML 1.1, according to the XHTML
validator at w3.org. Of course, in the present state of the code, a lot
of insets aren't being exported at all, since they've been disabled. So
there is work to do. But this is a serious start now.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32108 a592a061-630c-0410-9148-cb99ea01b6c8

src/output_xhtml.cpp

index 2db915cd94568ee7c05c6f5e5260cc377798532d..01d57218b2b3162c493b950a0be1edc555024547 100644 (file)
@@ -619,15 +619,9 @@ 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...