Changeset 3517 for trunk/wp-includes/functions-formatting.php
- Timestamp:
- 02/12/2006 07:53:23 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions-formatting.php
r3481 r3517 33 33 $curl = preg_replace("/ \(tm\)/i", ' ™', $curl); 34 34 $curl = str_replace("''", '”', $curl); 35 35 36 36 $curl = preg_replace('/(\d+)x(\d+)/', "$1×$2", $curl); 37 37 … … 75 75 $pee = preg_replace('!<br />(\s*</?(?:p|li|div|dl|dd|dt|th|pre|td|ul|ol)>)!', '$1', $pee); 76 76 $pee = preg_replace('!(<pre.*?>)(.*?)</pre>!ise', " stripslashes('$1') . stripslashes(clean_pre('$2')) . '</pre>' ", $pee); 77 77 78 78 return $pee; 79 79 } … … 240 240 // Euro Sign 241 241 chr(226).chr(130).chr(172) => 'E'); 242 242 243 243 $string = strtr($string, $chars); 244 244 } else { … … 375 375 // Fixes for browsers' javascript bugs 376 376 global $is_macIE, $is_winIE; 377 377 378 378 if ( $is_winIE || $is_macIE ) 379 379 $text = preg_replace("/\%u([0-9A-F]{4,4})/e", "'&#'.base_convert('\\1',16,10).';'", $text); 380 380 381 381 return $text; 382 382 } … … 402 402 */ 403 403 function balanceTags($text, $is_comment = 0) { 404 404 405 405 if ( get_option('use_balanceTags') == 0) 406 406 return $text;
Note: See TracChangeset
for help on using the changeset viewer.