From 5f67ca579aa4c9bb0de00dcb20dfd857fe9ad6ba Mon Sep 17 00:00:00 2001 From: ryan Date: Tue, 4 Apr 2006 00:47:33 +0000 Subject: [PATCH] texturize fix from that Andy guy. fixes #2634 git-svn-id: http://svn.automattic.com/wordpress/trunk@3686 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 392d47d5e..7480deeb6 100644 --- a/wp-includes/functions-formatting.php +++ b/wp-includes/functions-formatting.php @@ -41,7 +41,7 @@ function wptexturize($text) { } else { $next = true; } - $curl = preg_replace('/&([^#])(?![a-z1-4]{1,8};)/', '&$1', $curl); + $curl = preg_replace('/&([^#])(?![a-zA-Z1-4]{1,8};)/', '&$1', $curl); $output .= $curl; } return $output;