Changeset 2578 for trunk/wp-includes/functions-formatting.php
- Timestamp:
- 05/01/2005 07:21:42 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions-formatting.php
r2549 r2578 11 11 if (isset($curl{0}) && '<' != $curl{0} && $next) { // If it's not a tag 12 12 $curl = str_replace('---', '—', $curl); 13 $curl = preg_replace('/(\s)--(\s)/', '$1—$2', $curl);13 $curl = str_replace(' -- ', ' — ', $curl); 14 14 $curl = str_replace('--', '–', $curl); 15 $curl = str_replace('xn–', 'xn--', $curl); 15 16 $curl = str_replace('...', '…', $curl); 16 17 $curl = str_replace('``', '“', $curl);
Note: See TracChangeset
for help on using the changeset viewer.