citeproc-php icon indicating copy to clipboard operation
citeproc-php copied to clipboard

A slash in the title causes multiple slashes in the reference.

Open xopoc14 opened this issue 2 years ago • 1 comments

Bug reports:

When the reference has a slash in the title, the reference rendered with all slashed in the title instead of spaces.

Used CSL stylesheet:

chicago-author-date-16th-edition

Used CSL metadata

Please replace these lines with your used metadata, for instance:

[
    {
        "author": [
            {
                "family": "Anderson", 
                "given": "John"
            }
        ], 
        "id": "ITEM-1", 
        "type": "book",
        "title": "Black/White disparities in low birth weight pregnancy outcomes."
    }
]

Expected:

Anderson, John. 2001. Black/White Disparities in Low Birth Weight Pregnancy Outcomes.

Actual:

Anderson, John. 2001. Black/White/Disparities/in/Low/Birth/Weight/Pregnancy/Outcomes.

xopoc14 avatar Sep 27 '22 15:09 xopoc14

Hi there, I am using Chicago, MLA, APA, IEEE, and noticed Chicago and MLA has the same issue, while IEEE renders correctly. APA does not provide any output. In my case, the bug appears in "container-title". I will investigate a bit further.

Style Output
MLA
APA
IEEE 🟢
APA

hktang avatar May 28 '24 08:05 hktang