]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFloatList.cpp
File format change caused by 34eadf5d4.
[lyx.git] / src / insets / InsetFloatList.cpp
index f477c649dc648da1944241e9da9b514561405c72..981503f9df4931f9fac68f5f68fc522efbfd6799 100644 (file)
@@ -242,10 +242,12 @@ docstring InsetFloatList::xhtml(XHTMLStream &, OutputParams const & op) const {
        odocstringstream ods;
        XHTMLStream xs(ods);
 
+       InsetLayout const & il = getLayout();
+       string const & tag = il.htmltag();
        xs << html::StartTag("div", "class='toc toc-floats'");
-       xs << html::StartTag("div", tocattr) 
+       xs << html::StartTag(tag, tocattr)
                 << toclabel 
-                << html::EndTag("div");
+                << html::EndTag(tag);
        
        Toc::const_iterator it = toc.begin();
        Toc::const_iterator const en = toc.end();