There was an error while loading. Please reload this page.
1 parent dd59cdc commit 0194e87Copy full SHA for 0194e87
1 file changed
test/test-suite.js
@@ -1355,7 +1355,8 @@ module.exports = function (
1355
test: '<a href="mailto:demo@example.com">demo</a>',
1356
expected: '<a>demo</a>',
1357
},
1358
- ].forEach(function (test) {
+ ];
1359
+ tests.forEach(function (test) {
1360
var str = DOMPurify.sanitize(test.test, {
1361
ALLOWED_URI_REGEXP:
1362
/^(?:(?:(?:f|ht)tps?):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i,
0 commit comments