Skip to content

Commit d9090d2

Browse files
committed
Add img[src] to absolute urls
1 parent efe18bc commit d9090d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/utils/absolute-urls.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module.exports = absolute;
2121
function absolute(path, $) {
2222
var parts = url.parse(path);
2323
var remote = parts.protocol + '//' + parts.hostname;
24-
$('a[href]').each(abs);
24+
$('a[href], img[src]').each(abs);
2525

2626
function abs(i, el) {
2727
var $el = $(el);

0 commit comments

Comments
 (0)