From adf3e5d3803970b0474ef73fb216ff2795cf64c1 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Wed, 8 Sep 2004 08:48:36 +0000 Subject: [PATCH] Some named entities have numbers. git-svn-id: https://develop.svn.wordpress.org/trunk@1623 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/functions-formatting.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/functions-formatting.php b/wp-includes/functions-formatting.php index d8d53583bb..be4fbcda4d 100644 --- a/wp-includes/functions-formatting.php +++ b/wp-includes/functions-formatting.php @@ -44,7 +44,7 @@ function wptexturize($text) { } else { $next = true; } - $curl = preg_replace('/&([^#])(?![a-z]{1,8};)/', '&$1', $curl); + $curl = preg_replace('/&([^#])(?![a-z12]{1,8};)/', '&$1', $curl); $output .= $curl; } return $output;