Skip to content

Commit 472a4b0

Browse files
authored
Add background attribute to default sources (#408)
1 parent c013e42 commit 472a4b0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/config/defaults.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ const config = {
3232
{ selector: 'audio source', attr: 'src' },
3333
{ selector: 'audio track', attr: 'src' },
3434
{ selector: 'frame', attr: 'src' },
35-
{ selector: 'iframe', attr: 'src' }
35+
{ selector: 'iframe', attr: 'src' },
36+
{ selector: '[background]', attr: 'background' }
3637
],
3738
subdirectories: [
3839
{ directory: 'images', extensions: ['.png', '.jpg', '.jpeg', '.gif', '.webp'] },

0 commit comments

Comments
 (0)