Преглед на файлове

fixed meta data retrieving

Gildas преди 7 години
родител
ревизия
27d41256bf
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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) {