Selaa lähdekoodia

fixed meta data retrieving

Gildas 7 vuotta sitten
vanhempi
sitoutus
27d41256bf
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      lib/single-file/single-file-core.js

+ 1 - 1
lib/single-file/single-file-core.js

@@ -320,7 +320,7 @@ this.SingleFileCore = this.SingleFileCore || (() => {
 			const creatorElement = this.doc.querySelector("meta[name=creator]");
 			this.options.info.creator = creatorElement ? creatorElement.content.trim() : "";
 			const publisherElement = this.doc.querySelector("meta[name=publisher]");
-			this.options.info.publisher = creatorElement ? publisherElement.content.trim() : "";
+			this.options.info.publisher = publisherElement ? publisherElement.content.trim() : "";
 			const url = new URL(this.baseURI);
 			let size;
 			if (this.options.displayStats) {