diff --git a/includes/emails/class-wc-email.php b/includes/emails/class-wc-email.php index 732de38cc8c..dd4e13d1389 100644 --- a/includes/emails/class-wc-email.php +++ b/includes/emails/class-wc-email.php @@ -162,7 +162,7 @@ class WC_Email extends WC_Settings_API { '/&(pound|#163);/i', // Pound sign '/&(euro|#8364);/i', // Euro sign '/$/', // Dollar sign - '/&[^&;]+;/i', // Unknown/unhandled entities + '/&[^&\s;]+;/i', // Unknown/unhandled entities '/[ ]{2,}/' // Runs of spaces, post-handling );