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 { do {
// if there is no comma, then everything goes into key // if there is no comma, then everything goes into key
// and keys will be empty. // and keys will be empty.
keys = trim(split(keys, key, ',')); keys = split(keys, key, ',');
key = trim(key);
if (!label.empty()) if (!label.empty())
label += ", "; label += ", ";
label += wrapCitation(key, key, for_xhtml); label += wrapCitation(key, key, for_xhtml);