diff --git a/library/HTMLPurifier/URIScheme/tel.php b/library/HTMLPurifier/URIScheme/tel.php index 1ea12226..c428a90d 100644 --- a/library/HTMLPurifier/URIScheme/tel.php +++ b/library/HTMLPurifier/URIScheme/tel.php @@ -35,7 +35,7 @@ class HTMLPurifier_URIScheme_tel extends HTMLPurifier_URIScheme // Delete all non-numeric characters, non-x characters // from phone number, EXCEPT for a leading plus sign. - $uri->path = preg_replace('/(?!^\+)[^\dx]/', '', + $uri->path = preg_replace('/(?!^\+)[^\dx,]/', '', // Normalize e(x)tension to lower-case str_replace('X', 'x', rawurldecode($uri->path)));