Make WordPress Core


Ignore:
Timestamp:
02/12/2006 07:53:23 AM (19 years ago)
Author:
ryan
Message:

Death to trailing tabs. Props Mark J. fixes #2405

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions-formatting.php

    r3481 r3517  
    3333            $curl = preg_replace("/ \(tm\)/i", ' ™', $curl);
    3434            $curl = str_replace("''", '”', $curl);
    35            
     35
    3636            $curl = preg_replace('/(\d+)x(\d+)/', "$1×$2", $curl);
    3737
     
    7575    $pee = preg_replace('!<br />(\s*</?(?:p|li|div|dl|dd|dt|th|pre|td|ul|ol)>)!', '$1', $pee);
    7676    $pee = preg_replace('!(<pre.*?>)(.*?)</pre>!ise', " stripslashes('$1') .  stripslashes(clean_pre('$2'))  . '</pre>' ", $pee);
    77    
     77
    7878    return $pee;
    7979}
     
    240240        // Euro Sign
    241241        chr(226).chr(130).chr(172) => 'E');
    242        
     242
    243243        $string = strtr($string, $chars);
    244244    } else {
     
    375375    // Fixes for browsers' javascript bugs
    376376    global $is_macIE, $is_winIE;
    377    
     377
    378378    if ( $is_winIE || $is_macIE )
    379379        $text =  preg_replace("/\%u([0-9A-F]{4,4})/e",  "'&#'.base_convert('\\1',16,10).';'", $text);
    380    
     380
    381381    return $text;
    382382}
     
    402402*/
    403403function balanceTags($text, $is_comment = 0) {
    404    
     404
    405405    if ( get_option('use_balanceTags') == 0)
    406406        return $text;
Note: See TracChangeset for help on using the changeset viewer.