Skip to content

Commit bae1926

Browse files
committed
update list of attribute affected by absolute urls
1 parent d9090d2 commit bae1926

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/utils/absolute-urls.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ module.exports = absolute;
2121
function absolute(path, $) {
2222
var parts = url.parse(path);
2323
var remote = parts.protocol + '//' + parts.hostname;
24-
$('a[href], img[src]').each(abs);
25-
24+
$('a[href], img[src], script[src], link[href], source[src], track[src], img[src], frame[src], iframe[src]').each(abs);
25+
2626
function abs(i, el) {
2727
var $el = $(el);
2828
var key = null;

0 commit comments

Comments
 (0)