Also check <source>
This commit is contained in:
parent
141c2a02bf
commit
7892139e91
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -27,7 +27,7 @@ function recurseElement(report, rawHtml, el) {
|
|||
});
|
||||
}
|
||||
}
|
||||
if (["audio", "video", "img"].includes(el.name)) {
|
||||
if (["audio", "video", "img", "source"].includes(el.name)) {
|
||||
if (el.attribs.src) {
|
||||
checkUrl(report, rawHtml, "media", el, el.attribs.src);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue