diff --git a/src/helpers/StringHelper.php b/src/helpers/StringHelper.php index 397ec54168f..97e8ffd6824 100644 --- a/src/helpers/StringHelper.php +++ b/src/helpers/StringHelper.php @@ -1805,7 +1805,7 @@ public static function toHandle(string $str): string $handle = static::stripHtml($str); // Remove inner-word punctuation - $handle = preg_replace('/[\'"‘’“”\[\]\(\)\{\}:]/', '', $handle); + $handle = preg_replace('/[!,\'"‘’“”\[\]\(\)\{\}\/\\:]/', '', $handle); // Make it lowercase $handle = static::toLowerCase($handle);