From fc0546cf02b0e3081334a0ad8d3efffe86b2bbdf Mon Sep 17 00:00:00 2001 From: saxmatt Date: Fri, 6 Jun 2003 22:51:33 +0000 Subject: [PATCH] We need the ampersand fixer in the loop too. git-svn-id: http://svn.automattic.com/wordpress/trunk@177 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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);