Open dstillman opened 11 months ago
Reproducible with this fixture where the CSL style is simplified.
I also test the content in fields title
, edition
, and page
other than volume
and it seems this bug only happens in number fields. I suspect it's related to citeproc-js parsing embedded locators in number fields (see test-suite/processor-tests/humans/number_OrdinalSpacing.txt).
BTW, since volume-title
is available now, perhaps we can solve the original problem with it?
Number fields are split here:
They're then appended to the output queue here:
This then applies the formatting here:
Since the parts are still being processed separately the "stray" tags are "neutralized", here:
Weird one!
https://forums.zotero.org/discussion/comment/363829/#Comment_363829
Testing with chicago-author-date
Placing this in the Volume field of an empty item results in
FooBar an Baz
in italics:But if "and" is present in the second string, the second string isn't italicized: