diff --git a/wp-includes/functions-formatting.php b/wp-includes/functions-formatting.php index 277920c2a6..5b9ab97f1c 100644 --- a/wp-includes/functions-formatting.php +++ b/wp-includes/functions-formatting.php @@ -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; } -?> +?> \ No newline at end of file