Gildas преди 7 години
родител
ревизия
c898269acf
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      lib/single-file/single-file-core.js

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

@@ -602,7 +602,7 @@ this.SingleFileCore = this.SingleFileCore || (() => {
 		}
 
 		resolveHrefs() {
-			this.doc.querySelectorAll("a[href], link[href]").forEach(element => {
+			this.doc.querySelectorAll("a[href], area[href], link[href]").forEach(element => {
 				const href = element.getAttribute("href").trim();
 				if (!Util.testIgnoredPath(href) && !href.startsWith("#")) {
 					try {