texturize fix from that Andy guy. fixes #2634

git-svn-id: http://svn.automattic.com/wordpress/trunk@3686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2006-04-04 00:47:33 +00:00
parent e78ef4fe16
commit 5f67ca579a
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ function wptexturize($text) {
} else { } else {
$next = true; $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; $output .= $curl;
} }
return $output; return $output;