Gildas 7 лет назад
Родитель
Сommit
e06ee50be9
1 измененных файлов с 1 добавлено и 1 удалено
  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) {