Explorar o código

fixed meta data retrieving

Gildas %!s(int64=7) %!d(string=hai) anos
pai
achega
27d41256bf
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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) {