Explorar el Código

removed obsolete parameter

Gildas hace 7 años
padre
commit
e06ee50be9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      lib/single-file/single-file-core.js

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

@@ -500,7 +500,7 @@ this.SingleFileCore = this.SingleFileCore || (() => {
 				DomProcessorHelper.processAttribute(this.doc.querySelectorAll("video[poster]"), "poster", this.baseURI),
 				DomProcessorHelper.processAttribute(this.doc.querySelectorAll("*[background]"), "background", this.baseURI),
 				DomProcessorHelper.processAttribute(this.doc.querySelectorAll("image"), "xlink:href", this.baseURI),
-				DomProcessorHelper.processXLinks(this.doc.querySelectorAll("use"), "xlink:href", this.baseURI),
+				DomProcessorHelper.processXLinks(this.doc.querySelectorAll("use"), this.baseURI),
 				DomProcessorHelper.processSrcset(this.doc.querySelectorAll("[srcset]"), "srcset", this.baseURI)
 			];
 			if (!this.options.removeAudioSrc) {