We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a09e2d6 commit 7298b0dCopy full SHA for 7298b0d
index.js
@@ -96,7 +96,7 @@ function visitNode(tree) {
96
sha256Hash.update(node.children[0].value)
97
hashLists[node.tagName].push(`'sha256-${sha256Hash.digest('base64')}'`)
98
} else if(node.properties.src) {
99
- hashLists[node.tagName].push(`'${node.properties.src}'`);
+ hashLists[node.tagName].push(`${node.properties.src}`);
100
} else if(node.tagName === 'link') {
101
hashLists.style.push(`${node.properties.href}`);
102
}
0 commit comments