mirror of
git://develop.git.wordpress.org/
synced 2025-01-19 13:47:02 +01:00
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:
parent
5715b0880d
commit
be058a1058
@ -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;
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
Loading…
x
Reference in New Issue
Block a user