Close the "not" function (#25)

Co-authored-by: pvergara <ecos.logic.org@gmail.com>
This commit is contained in:
Pablo C. Vergara Castro
2024-06-03 05:54:44 +00:00
committed by GitHub
co-authored by pvergara
parent 8c378d68fc
commit 239af2437a
+1 -1
View File
@@ -702,7 +702,7 @@ class Loader {
for (const el of doc.querySelectorAll('[src]')) await replace(el, 'src')
for (const el of doc.querySelectorAll('[poster]')) await replace(el, 'poster')
for (const el of doc.querySelectorAll('object[data]')) await replace(el, 'data')
for (const el of doc.querySelectorAll('[*|href]:not([href]'))
for (const el of doc.querySelectorAll('[*|href]:not([href])'))
el.setAttributeNS(NS.XLINK, 'href', await this.loadHref(
el.getAttributeNS(NS.XLINK, 'href'), href, parents))
// replace inline styles