Juris-M / citeproc-js

A JavaScript implementation of the Citation Style Language (CSL) https://citeproc-js.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Valid URLs are having the straight apostrophes transformed into fancy/curly quotes

gaj23 opened this issue · comments

Version 2.4.59

Given below input, we'd expect that the URL would continue to have a straight apostrophe. However, this straight apostrophe is transforming into a opening quote. This breaks the URL which was previously valid.
Input:

{"id":"249878","URL":"http://en.moj.gov.cn/pdf/DecisionoftheStateCouncilonAmendingtheRegulationsofthePeople'sRepublicofChinaonCustomsExternalAuditing.pdf","type":"webpage","title":"Decision of the State Council on amending the regulations of the People’s Republic of China on customs external auditing. Promulgated by Decree No. 670 on 19 June 2016 and effective as of 1 October 2016","author":[{"literal":"State Council of the People’s Republic of China"}],"issued":{"date-parts":[[2016,6,19]]},"citation-key":null}

valid url
http://en.moj.gov.cn/pdf/DecisionoftheStateCouncilonAmendingtheRegulationsofthePeople'sRepublicofChinaonCustomsExternalAuditing.pdf

invalid url
http://en.moj.gov.cn/pdf/DecisionoftheStateCouncilonAmendingtheRegulationsofthePeople’sRepublicofChinaonCustomsExternalAuditing.pdf