diff --git a/src/csl/rendering/names.rs b/src/csl/rendering/names.rs index a0113f5e..3c936750 100644 --- a/src/csl/rendering/names.rs +++ b/src/csl/rendering/names.rs @@ -654,7 +654,6 @@ fn write_name( if name.given_name.is_some() { ctx.push_str(sort_sep); - ctx.ensure_space(); let idx = ctx.push_format(first_format); let cidx = ctx.push_case(first_case); @@ -680,7 +679,6 @@ fn write_name( if let Some(suffix) = &name.suffix { ctx.push_str(sort_sep); - ctx.ensure_space(); ctx.push_str(suffix); } }; @@ -704,7 +702,6 @@ fn write_name( if name.given_name.is_some() { ctx.push_str(sort_sep); - ctx.ensure_space(); let idx = ctx.push_format(first_format); let cidx = ctx.push_case(first_case); @@ -735,7 +732,6 @@ fn write_name( if let Some(suffix) = &name.suffix { ctx.push_str(sort_sep); - ctx.ensure_space(); ctx.push_str(suffix); } }; diff --git a/tests/citeproc-pass.txt b/tests/citeproc-pass.txt index 0853321c..fcbbe72d 100644 --- a/tests/citeproc-pass.txt +++ b/tests/citeproc-pass.txt @@ -262,6 +262,7 @@ nameattr_NameFormOnNamesInCitation nameattr_NameFormOnStyleInCitation nameattr_NamesDelimiterOnBibliographyInCitation nameattr_NamesDelimiterOnNamesInCitation +nameattr_SortSeparatorOnBibliographyInCitation nameattr_SortSeparatorOnCitationInCitation nameattr_SortSeparatorOnNamesInCitation nameattr_SortSeparatorOnStyleInCitation @@ -302,6 +303,7 @@ sort_DateVariableMixedElementsDescendingB sort_LatinUnicode sort_LocalizedDateLimitedParts sort_TestInheritance +sortseparator_SortSeparatorEmpty substitute_RepeatedNamesOk substitute_SubstituteOnlyOnceString substitute_SubstituteOnlyOnceTerm