1
0
mirror of https://git.lyx.org/repos/lyx.git synced 2025-01-02 08:10:39 +00:00

We do not want to trim whitespace in the fallback, either.

This commit is contained in:
Richard Heck 2017-10-19 10:15:03 -04:00
parent 9f56f97d8e
commit 4483a8f1fb

View File

@ -425,8 +425,7 @@ docstring InsetCitation::basicLabel(bool for_xhtml) const
do {
// if there is no comma, then everything goes into key
// and keys will be empty.
keys = trim(split(keys, key, ','));
key = trim(key);
keys = split(keys, key, ',');
if (!label.empty())
label += ", ";
label += wrapCitation(key, key, for_xhtml);