testaro 45.0.7 → 45.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/testaro/dupAtt.js +1 -1
package/package.json
CHANGED
package/testaro/dupAtt.js
CHANGED
|
@@ -59,7 +59,7 @@ exports.reporter = async (page, withItems) => {
|
|
|
59
59
|
// Remove any escaped quotation marks from it.
|
|
60
60
|
rawPage = rawPage.replace(/\\"|\\'/g, '');
|
|
61
61
|
// Remove any script code from it.
|
|
62
|
-
rawPage = rawPage.replace(/<
|
|
62
|
+
rawPage = rawPage.replace(/<script[^<>]+>.*?<\/script>/g, '');
|
|
63
63
|
// Remove any comments from it.
|
|
64
64
|
rawPage = rawPage.replace(/<!--.*?-->/g, '');
|
|
65
65
|
// Extract the opening tags of its elements.
|