diff --git a/lib/Cleantalk/Antispam/EmailEncoder.php b/lib/Cleantalk/Antispam/EmailEncoder.php index 3cd3a42b..5ac64c7c 100644 --- a/lib/Cleantalk/Antispam/EmailEncoder.php +++ b/lib/Cleantalk/Antispam/EmailEncoder.php @@ -204,7 +204,7 @@ public function modifyContent($content) $shortcode_pattern = '/\[apbct_encode_data\](.*?)\[\/apbct_encode_data\]/s'; $shortcode_replacements = []; $shortcode_counter = 0; - $content = preg_replace_callback($shortcode_pattern, function($matches) use (&$shortcode_replacements, &$shortcode_counter) { + $content = preg_replace_callback($shortcode_pattern, function ($matches) use (&$shortcode_replacements, &$shortcode_counter) { $placeholder = '%%APBCT_SHORTCODE_' . ($shortcode_counter++) . '%%'; $shortcode_replacements[$placeholder] = $matches[0]; return $placeholder;