Update Quick Copy to new Cite API
This commit is contained in:
parent
27041dffb2
commit
c548398dfa
|
@ -126,11 +126,10 @@ Zotero.QuickCopy = new function() {
|
||||||
}
|
}
|
||||||
else if (mode == 'bibliography') {
|
else if (mode == 'bibliography') {
|
||||||
var csl = Zotero.Cite.getStyle(format);
|
var csl = Zotero.Cite.getStyle(format);
|
||||||
Zotero.debug(items);
|
var itemSet = csl.generateItemSet(items);
|
||||||
csl.preprocessItems(items);
|
|
||||||
var bibliography = {
|
var bibliography = {
|
||||||
text: csl.createBibliography(items, "Text"),
|
text: csl.createBibliography(itemSet, "Text"),
|
||||||
html: csl.createBibliography(items, "HTML")
|
html: csl.createBibliography(itemSet, "HTML")
|
||||||
};
|
};
|
||||||
return bibliography;
|
return bibliography;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user