@bigbinary/neeto-playwright-commons 1.17.2 → 1.17.3

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/index.cjs.js CHANGED
@@ -12184,7 +12184,7 @@ class MailerUtils {
12184
12184
  ...contentRecognitions,
12185
12185
  };
12186
12186
  const wrappedHtml = /<html[\s>]/i.test(emailBody)
12187
- ? emailBody
12187
+ ? emailBody.replace(/\sxmlns="[^"]+"/g, "")
12188
12188
  : basicHTMLContent(emailBody);
12189
12189
  const document = new DOMParser().parseFromString(wrappedHtml, "text/html").documentElement;
12190
12190
  const text = {