]> git.lyx.org Git - features.git/commitdiff
We do not want to trim whitespace in the fallback, either.
authorRichard Heck <rgheck@lyx.org>
Thu, 19 Oct 2017 14:15:03 +0000 (10:15 -0400)
committerRichard Heck <rgheck@lyx.org>
Thu, 19 Oct 2017 14:15:03 +0000 (10:15 -0400)
src/insets/InsetCitation.cpp

index 366cbc60d7cddb7abd5783c2950c0094d8fd4b55..83777969b51eb0967b10359029e66fa57e6ff0a8 100644 (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);