]> git.lyx.org Git - features.git/commitdiff
Part of #6893.
authorRichard Heck <rgheck@comcast.net>
Wed, 15 Sep 2010 13:51:06 +0000 (13:51 +0000)
committerRichard Heck <rgheck@comcast.net>
Wed, 15 Sep 2010 13:51:06 +0000 (13:51 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35389 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetBibitem.cpp

index 9024c8fe515dbc2fadda04324db89ef33665285f..72b0427b3442fe1a7c5af082917f335cda2d8c8e 100644 (file)
@@ -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();