From 68fba203438499e18e756574e5884dbc95170efd Mon Sep 17 00:00:00 2001 From: saxmatt Date: Wed, 8 Sep 2004 08:48:36 +0000 Subject: [PATCH] Some named entities have numbers. git-svn-id: http://svn.automattic.com/wordpress/trunk@1623 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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;