commit 4483a8f1fb8200029081d91e5a61bb05dd8c77db
Author: Richard Heck <[email protected]>
Date:   Thu Oct 19 10:15:03 2017 -0400

    We do not want to trim whitespace in the fallback, either.
---
 src/insets/InsetCitation.cpp |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/insets/InsetCitation.cpp b/src/insets/InsetCitation.cpp
index 366cbc6..8377796 100644
--- a/src/insets/InsetCitation.cpp
+++ b/src/insets/InsetCitation.cpp
@@ -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);

Reply via email to