We need the ampersand fixer in the loop too.
git-svn-id: http://svn.automattic.com/wordpress/trunk@177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3d3a37ed5a
commit
fc0546cf02
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue