mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
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:
parent
e78ef4fe16
commit
5f67ca579a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user