-
-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Italics aren't applied for second instance in field if "and" is present #229
Comments
Reproducible with this fixture where the CSL style is simplified. I also test the content in fields BTW, since |
Number fields are split here: citeproc-js/src/util_number.js Lines 327 to 362 in 73bc1b4
They're then appended to the output queue here: citeproc-js/src/util_number.js Line 999 in 73bc1b4
This then applies the formatting here: Line 309 in 73bc1b4
Since the parts are still being processed separately the "stray" tags are "neutralized", here: citeproc-js/src/util_flipflop.js Lines 540 to 559 in 73bc1b4
|
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:
The text was updated successfully, but these errors were encountered: