Changeset 815 for trunk/HTML


Ignore:
Timestamp:
Feb 22, 2015, 11:05:49 PM (10 years ago)
Author:
chronos
Message:
  • Remove: Trailing spaces from end of lines from all files.
Location:
trunk/HTML
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/HTML/BBCodeParser2.php

    r760 r815  
    140140     */
    141141    var $_filters       = array();
    142    
     142
    143143    /**
    144144     * Constructor, initialises the options and filters
     
    146146     * Sets options to properly escape the tag
    147147     * characters in preg_replace() etc.
    148      * 
     148     *
    149149     * All the filters in the options are initialised and their defined tags
    150150     * are copied into the private variable _definedTags.
  • trunk/HTML/BBCodeParser2/Filter/Links.php

    r760 r815  
    156156            return $matches[1].$o.'url'.$c.$matches[2].$o.'/url'.$c.$trailing;
    157157        }
    158        
     158
    159159        return $matches[0];
    160160    }
     
    195195            return $o.'url='.$urlServ.$path.$c.$matches[6].$o.'/url'.$c;
    196196        }
    197        
     197
    198198        //Else remove url tag
    199199        return $matches[6];
  • trunk/HTML/BBCodeParser2/Filter/Lists.php

    r760 r815  
    2929
    3030/**
    31  * 
     31 *
    3232 */
    3333class HTML_BBCodeParser2_Filter_Lists extends HTML_BBCodeParser2_Filter
     
    8484        $oe = $options['open_esc'];
    8585        $ce = $options['close_esc'];
    86        
     86
    8787        $pattern = array(   "!".$oe."\*".$ce."!",
    8888                            "!".$oe."(u?)list=(?-i:A)(\s*[^".$ce."]*)".$ce."!i",
     
    9292                            "!".$oe."(u?)list=(?-i:1)(\s*[^".$ce."]*)".$ce."!i",
    9393                            "!".$oe."(u?)list([^".$ce."]*)".$ce."!i");
    94        
     94
    9595        $replace = array(   $o."li".$c,
    9696                            $o."\$1list=upper-alpha\$2".$c,
     
    100100                            $o."\$1list=decimal\$2".$c,
    101101                            $o."\$1list\$2".$c );
    102        
     102
    103103        $this->_preparsed = preg_replace($pattern, $replace, $this->_text);
    104104    }
Note: See TracChangeset for help on using the changeset viewer.