From fbc092639c3ae4c25bf3ce7ea5c1fa2209b29e2b Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Wed, 15 Sep 2010 13:51:06 +0000 Subject: [PATCH] Part of #6893. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35389 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetBibitem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/insets/InsetBibitem.cpp b/src/insets/InsetBibitem.cpp index 9024c8fe51..72b0427b34 100644 --- a/src/insets/InsetBibitem.cpp +++ b/src/insets/InsetBibitem.cpp @@ -295,7 +295,7 @@ docstring InsetBibitem::xhtml(XHTMLStream & xs, OutputParams const &) const // 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(getParam("key")) + "'"; + string const attrs = "id='" + to_utf8(getParam("label")) + "'"; xs << html::CompTag("a", attrs); xs << html::StartTag("span", "class='bibitemlabel'"); xs << bibLabel(); -- 2.39.2