From 170a41cb0f4702987d7612af19ba517cebe2c475 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Fri, 6 Jun 2003 22:51:33 +0000 Subject: [PATCH] We need the ampersand fixer in the loop too. git-svn-id: https://develop.svn.wordpress.org/trunk@177 602fd350-edb4-49c9-b593-d223f7449a82 --- b2-include/b2functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/b2-include/b2functions.php b/b2-include/b2functions.php index 5ad8a9a2eb..9151c8ac98 100644 --- a/b2-include/b2functions.php +++ b/b2-include/b2functions.php @@ -51,7 +51,7 @@ function wptexturize($text) { $curl = preg_replace("/\(tm\)/i", '™', $curl); $curl = preg_replace("/\(c\)/i", '©', $curl); $curl = preg_replace("/\(r\)/i", '®', $curl); - + $curl = preg_replace('/&([^#])(?![a-z]{1,8};)/', '&$1', $curl); $curl = str_replace("''", '”', $curl); $curl = preg_replace('/(d+)x(\d+)/', "$1×$2", $curl);