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
+1
View File
@@ -43,6 +43,7 @@ function wptexturize($text) {
} else { } else {
$next = true; $next = true;
} }
$curl = preg_replace('/&([^#])(?![a-z]{1,8};)/', '&$1', $curl);
$output .= $curl; $output .= $curl;
} }
return $output; return $output;