Display embedded images in item reports

Fixes #2002
This commit is contained in:
Martynas Bagdonas 2021-03-16 10:22:50 +02:00
parent 65329dbf27
commit 8799de5284
2 changed files with 16 additions and 9 deletions

View file

@ -510,7 +510,7 @@ function ZoteroProtocolHandler() {
default:
this.contentType = 'text/html';
return Zotero.Utilities.Internal.getAsyncInputStream(
Zotero.Report.HTML.listGenerator(items, combineChildItems),
Zotero.Report.HTML.listGenerator(items, combineChildItems, params.libraryID),
function () {
Zotero.logError(e);
return '<span style="color: red; font-weight: bold">Error generating report</span>';