commit be3e79c2a00991ed4056020266fa8185da0c68ba
Author: Thibaut Cuvelier <[email protected]>
Date: Mon Jul 20 02:28:28 2020 +0200
DocBook: clean citation keys everywhere in the same way.
---
src/insets/InsetCitation.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/insets/InsetCitation.cpp b/src/insets/InsetCitation.cpp
index 5d35f9d..a525316 100644
--- a/src/insets/InsetCitation.cpp
+++ b/src/insets/InsetCitation.cpp
@@ -552,7 +552,7 @@ void InsetCitation::docbook(XMLStream & xs, OutputParams
const &) const
return;
// Split the different citations (on ","), so that one tag can be
output for each of them.
- string citations = to_utf8(getParam("key")); // Citation strings are
not supposed to be too fancy.
+ string citations = to_utf8(xml::cleanID(getParam("key")));
if (citations.find(',') == string::npos) {
xs << xml::CompTag("biblioref", "endterm=\"" + citations +
"\"");
} else {
--
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs