Changeset 815 for trunk/HTML/BBCodeParser2/Filter/Lists.php
- Timestamp:
- Feb 22, 2015, 11:05:49 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HTML/BBCodeParser2/Filter/Lists.php
r760 r815 29 29 30 30 /** 31 * 31 * 32 32 */ 33 33 class HTML_BBCodeParser2_Filter_Lists extends HTML_BBCodeParser2_Filter … … 84 84 $oe = $options['open_esc']; 85 85 $ce = $options['close_esc']; 86 86 87 87 $pattern = array( "!".$oe."\*".$ce."!", 88 88 "!".$oe."(u?)list=(?-i:A)(\s*[^".$ce."]*)".$ce."!i", … … 92 92 "!".$oe."(u?)list=(?-i:1)(\s*[^".$ce."]*)".$ce."!i", 93 93 "!".$oe."(u?)list([^".$ce."]*)".$ce."!i"); 94 94 95 95 $replace = array( $o."li".$c, 96 96 $o."\$1list=upper-alpha\$2".$c, … … 100 100 $o."\$1list=decimal\$2".$c, 101 101 $o."\$1list\$2".$c ); 102 102 103 103 $this->_preparsed = preg_replace($pattern, $replace, $this->_text); 104 104 }
Note:
See TracChangeset
for help on using the changeset viewer.