Fix for unencoded ampersands. When did we lose this?

git-svn-id: https://develop.svn.wordpress.org/trunk@1361 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2004-05-25 04:33:37 +00:00
parent 5715b0880d
commit be058a1058

View File

@ -43,6 +43,7 @@ function wptexturize($text) {
} else {
$next = true;
}
$curl = preg_replace('/&([^#])(?![a-z]{1,8};)/', '&$1', $curl);
$output .= $curl;
}
return $output;
@ -413,4 +414,4 @@ function get_date_from_gmt($string) {
return $string_localtime;
}
?>
?>