Some named entities have numbers.

git-svn-id: https://develop.svn.wordpress.org/trunk@1623 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2004-09-08 08:48:36 +00:00
parent 33e49f7c71
commit adf3e5d380
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;