// Update the counters of this inset and of its contents
-void InsetBibitem::updateLabels(ParIterator const & it)
+void InsetBibitem::updateLabels(ParIterator const & it, bool)
{
BufferParams const & bp = buffer().masterBuffer()->params();
Counters & counters = bp.documentClass().counters();
// need to use "name" anyway, eventually, because some browsers do not
// handle jumping to ids. If we don't do that, though, we can just put the
// id into the span tag.
- string const attrs = "id='" + to_utf8(bibLabel()) + "'";
+ string const attrs = "id='" + to_utf8(getParam("key")) + "'";
xs << CompTag("a", attrs);
- xs << StartTag("span", "class='biblabel'");
+ xs << StartTag("span", "class='bibitemlabel'");
xs << bibLabel();
xs << EndTag("span");
return docstring();