This test checks the following properties: - plain URLs appearing in bibliography items should be linkified - when a link's prefix+anchor matches its target, the prefix should be included in the anchor - shortDOIs should be handled correctly, meaning that every shortDOI of the form 10/abcde should be converted to the DOI abcde >>===== MODE =====>> bibliography <<===== MODE =====<< >>===== OPTIONS =====>> { "linkBibliography" : true } <<===== OPTIONS =====<< >>===== RESULT =====>>
Apple. AAAA. 2010. https://doi.org/10.1021/ja01577a030
Blueberry. BBBB. 2011. https://doi.org/bbbbb
Cherry. CCCC. 2012. https://pandoc.org/
Durian. DDDD. 2013. https://www.ncbi.nlm.nih.gov/pubmed/30310042
Elderberry. EEEE. 2014. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3531190
<<===== RESULT =====<< >>===== CSL =====>> <<===== CSL =====<< >>===== INPUT =====>> [ { "author": [ { "family": "Apple", "given": "Andrew" } ], "id": "ITEM-A", "type": "book", "title": "AAAA", "DOI": "10.1021/ja01577a030", "issued": { "date-parts": [ [ 2010 ] ] } }, { "author": [ { "family": "Blueberry", "given": "Bethany" } ], "id": "ITEM-B", "type": "book", "title": "BBBB", "DOI": "10/bbbbb", "issued": { "date-parts": [ [ 2011 ] ] } }, { "author": [ { "family": "Cherry", "given": "Carlos" } ], "id": "ITEM-C", "type": "book", "title": "CCCC", "URL": "https://pandoc.org/", "issued": { "date-parts": [ [ 2012 ] ] } }, { "author": [ { "family": "Durian", "given": "Denice" } ], "id": "ITEM-D", "type": "book", "title": "DDDD", "PMID": "30310042", "issued": { "date-parts": [ [ 2013 ] ] } }, { "author": [ { "family": "Elderberry", "given": "Edward" } ], "id": "ITEM-E", "type": "book", "title": "EEEE", "PMCID": "PMC3531190", "issued": { "date-parts": [ [ 2014 ] ] } } ] <<===== INPUT =====<< >>===== VERSION =====>> 1.0 <<===== VERSION =====<<