Skip to content

Commit

Permalink
Update CSL JSON translator
Browse files Browse the repository at this point in the history
  • Loading branch information
fbennett committed Oct 24, 2023
1 parent ce89e07 commit f5c8e35
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CSL JSON.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,8 @@ function importNext(data, resolve, reject) {
d.type = 'article';
}

ZU.itemFromCSLJSON(item, d);
// fourth argument turns on portable JSON conversion.
ZU.itemFromCSLJSON(item, d, null, true);
item.attachments = [];
item.tags = [];
if (d.attachments && d.attachments.length) {
Expand Down

0 comments on commit f5c8e35

Please sign in to comment.