]> git.lyx.org Git - features.git/blobdiff - src/output_docbook.cpp
xHTML export: change filenames of exported images.
[features.git] / src / output_docbook.cpp
index eb1a9a5a5f5cbcb8459fe1815135b5e084ff478f..1a2bb4109488788262a01417f1ec9264f3918bbe 100644 (file)
@@ -348,7 +348,7 @@ ParagraphList::const_iterator makeParagraphBibliography(
                        Inset const *ip = par->getInset(0);
                        if (ip != nullptr && ip->lyxCode() == BIBITEM_CODE) {
                                const auto * bibitem = dynamic_cast<const InsetBibitem*>(par->getInset(i));
-                               attr = from_utf8("xml:id='") + bibitem->bibLabel() + from_utf8("'");
+                               attr = from_utf8("xml:id='") + bibitem->getParam("key") + from_utf8("'");
                                break;
                        }
                }