Gildas 7 rokov pred
rodič
commit
c898269acf
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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 {