From: Richard Heck Date: Thu, 3 Dec 2009 19:46:24 +0000 (+0000) Subject: Revert previous commit. Wrong fix. X-Git-Tag: 2.0.0~4949 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=879e5d3504cd1577e1c3976bf1eaa3d3b4f72964;p=features.git Revert previous commit. Wrong fix. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32294 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/insets/InsetBibitem.cpp b/src/insets/InsetBibitem.cpp index b5b4b44ca0..1e7d13972e 100644 --- a/src/insets/InsetBibitem.cpp +++ b/src/insets/InsetBibitem.cpp @@ -277,7 +277,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(bibLabel()) + "'"; + string const attrs = "id='" + to_utf8(getParam("key")) + "'"; xs << CompTag("a", attrs); xs << StartTag("span", "class='biblabel'"); xs << bibLabel();