From c08c837e4269162a37040506425d48ab377051b2 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Tue, 4 Apr 2006 00:47:33 +0000 Subject: [PATCH] texturize fix from that Andy guy. fixes #2634 git-svn-id: https://develop.svn.wordpress.org/trunk@3686 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 392d47d5e8..7480deeb68 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;