From dce17fa6d6d66522c059b014bc3a3d15185e361a Mon Sep 17 00:00:00 2001 From: saxmatt Date: Fri, 11 Jun 2004 17:52:41 +0000 Subject: [PATCH] http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000013 git-svn-id: http://svn.automattic.com/wordpress/trunk@1409 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions-formatting.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/functions-formatting.php b/wp-includes/functions-formatting.php index 87c324012c..a9bb50ef86 100644 --- a/wp-includes/functions-formatting.php +++ b/wp-includes/functions-formatting.php @@ -24,8 +24,8 @@ function wptexturize($text) { $curl = preg_replace("/'s/", '’s', $curl); $curl = preg_replace("/'(\d\d(?:’|')?s)/", "’$1", $curl); $curl = preg_replace('/(\s|\A|")\'/', '$1‘', $curl); - $curl = preg_replace('/(\d+)"/', '$1″', $curl); - $curl = preg_replace("/(\d+)'/", '$1′', $curl); + $curl = preg_replace('/(\d+)"/', '$1″', $curl); + $curl = preg_replace("/(\d+)'/", '$1′', $curl); $curl = preg_replace("/(\S)'([^'\s])/", "$1’$2", $curl); $curl = preg_replace('/(\s|\A)"(?!\s)/', '$1“$2', $curl); $curl = preg_replace('/"(\s|\Z)/', '”$1', $curl);