From e0ef0f1631fd67067ad8d6ee8c6b14ff75371a67 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg 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: https://develop.svn.wordpress.org/trunk@1409 602fd350-edb4-49c9-b593-d223f7449a82 --- 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);