iframe
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

fixes #4
This commit is contained in:
Cat /dev/Nulo 2022-11-25 22:23:12 -03:00
parent a624f664ef
commit 57c83df17d

View file

@ -46,7 +46,7 @@ function recurseElement(page: Page, el: Element) {
}); });
} }
} }
if (["audio", "video", "img", "source"].includes(el.name)) { if (["audio", "video", "img", "source", "iframe"].includes(el.name)) {
if (el.attribs.src) { if (el.attribs.src) {
checkUrl(page, el, el.attribs.src); checkUrl(page, el, el.attribs.src);
} else { } else {