Changeset 534 for trunk/b2-include/b2functions.php
- Timestamp:
- 11/10/2003 11:08:59 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/b2-include/b2functions.php
r525 r534 43 43 $curl = preg_replace("/(\d+)'/", "$1′", $curl); 44 44 $curl = preg_replace("/(\S)'([^'\s])/", "$1’$2", $curl); 45 $curl = preg_replace('/"([\s. ]|\Z)/', '”$1', $curl);46 45 $curl = preg_replace('/"([\s.,!?;:&\']|\Z)/', '”$1', $curl); 46 $curl = preg_replace('/(\s|\A)"/', '$1“', $curl); 47 47 $curl = preg_replace("/'([\s.]|\Z)/", '’$1', $curl); 48 48 $curl = preg_replace("/\(tm\)/i", '™', $curl); … … 63 63 } 64 64 return $output; 65 65 } 66 66 67 67 function wpautop($pee, $br=1) { … … 1394 1394 $functions = $b2_filter[$tag]; 1395 1395 foreach($functions as $function) { 1396 //error_log("apply_filters #1 applying filter $function"); 1396 1397 $string = $function($string); 1397 1398 }
Note: See TracChangeset
for help on using the changeset viewer.