- string const attr = "class='lyxtoc-" + toctype + "'";
- Font const dummy;
- xs << html::StartTag("div", attr);
- string const parattr = "href='#" + par.magicLabel() + "' class='tocarrow'";
- xs << it->str() << " "
- << html::StartTag("a", parattr)
- // FIXME XHTML
- // There ought to be a simple way to customize this.
- << XHTMLStream::ESCAPE_NONE << ">"
- << html::EndTag("a");
- xs << html::EndTag("div");
+ string const attr = "class='lyxtoc-floats lyxtoc-" + toctype + "'";
+ xs << xml::StartTag("div", attr);
+ string const parattr = "href='#" + par.magicLabel() + "' class='lyxtoc-floats'";
+ xs << xml::StartTag("a", parattr)
+ << it->str()
+ << xml::EndTag("a");
+ xs << xml::EndTag("div");