Some named entities have numbers.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2004-09-08 08:48:36 +00:00
parent 8eb8cc3b27
commit 68fba20343
1 changed files with 1 additions and 1 deletions

View File

@ -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;