From ed7172226ca93efcc1037636f885ecafccd987d0 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Thu, 19 Nov 2009 22:58:32 +0000 Subject: [PATCH] This inner tag thing turns out to be a bad idea, since so few things are allowed to go inside . 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 | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/output_xhtml.cpp b/src/output_xhtml.cpp index 2db915cd94..01d57218b2 100644 --- a/src/output_xhtml.cpp +++ b/src/output_xhtml.cpp @@ -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...