diff --git a/lib/class-sendgrid-nlvx-widget.php b/lib/class-sendgrid-nlvx-widget.php index 9560dd2..5414465 100644 --- a/lib/class-sendgrid-nlvx-widget.php +++ b/lib/class-sendgrid-nlvx-widget.php @@ -205,7 +205,7 @@ private function process_subscription() { $email = $email_split[0] . '@' . $email_domain; } else { - $email = htmlspecialchars( $_POST['sendgrid_mc_email'], ENT_QUOTES, 'UTF-8 '); + $email = htmlspecialchars( $_POST['sendgrid_mc_email'], ENT_QUOTES, 'UTF-8'); } // Bad call