@percy/dom
Advanced tools
Comparing version 1.24.1 to 1.24.2
@@ -404,3 +404,5 @@ (function() { | ||
docElement.textContent = ''; | ||
return docElement.outerHTML.replace('</html>', `${innerHTML}</html>`); | ||
// Note: Here we are specifically passing replacer function to avoid any replacements due to | ||
// special characters in client's dom like $& | ||
return docElement.outerHTML.replace('</html>', () => `${innerHTML}</html>`); | ||
} | ||
@@ -407,0 +409,0 @@ |
{ | ||
"name": "@percy/dom", | ||
"version": "1.24.1", | ||
"version": "1.24.2", | ||
"license": "MIT", | ||
@@ -37,3 +37,3 @@ "repository": { | ||
}, | ||
"gitHead": "289eb8467fd317b6c17decc5d4f1b6586aa7b75e" | ||
"gitHead": "b9c37345b1feebd06f3c87a6a6accf8cdb6d29a5" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26851
493