Changeset 369
- Timestamp:
- 02/17/07 17:02:51 (2 years ago)
- Files:
-
- trunk/lib/wikirenderer/CHANGELOG (modified) (1 diff)
- trunk/lib/wikirenderer/WikiRenderer.lib.php (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/wikirenderer/CHANGELOG
r279 r369 1 1 Changelog de WikiRenderer version 3.x 2 2 3 Version 3.1 RC1 3 Version 3.0 4 5 - fix php5 syntax and deprecated properties 6 - fix bug : error when default rule is used (wrong class name) 7 - fix bug : callback function for CamelCase word was never called 8 9 Version 3.0 RC1 4 10 5 11 - Ajout d'une classe de base pour la configuration trunk/lib/wikirenderer/WikiRenderer.lib.php
r279 r369 4 4 * @package WikiRenderer 5 5 * @author Laurent Jouanneau <jouanneau@netcourrier.com> 6 * @copyright 2003-200 6Laurent Jouanneau6 * @copyright 2003-2007 Laurent Jouanneau 7 7 * @link http://wikirenderer.berlios.de 8 8 * … … 22 22 */ 23 23 define('WIKIRENDERER_PATH', dirname(__FILE__).'/'); 24 define('WIKIRENDERER_VERSION', '3.0 RC1-php5');24 define('WIKIRENDERER_VERSION', '3.0-php5'); 25 25 26 26 /** … … 54 54 $this->config = $config; 55 55 $this->checkWikiWordFunction=$config->checkWikiWordFunction; 56 if($config->checkWikiWordFunction === null) $ checkWikiWordIn=array();56 if($config->checkWikiWordFunction === null) $this->checkWikiWordIn=array(); 57 57 if(count($this->separators)) $this->separator= $this->separators[0]; 58 58 } … … 68 68 if(count( $this->checkWikiWordIn) 69 69 && isset($this->attribute[$this->separatorCount]) 70 && in_array($this->attribute[$this->separatorCount], $this->checkWikiWordIn)) 70 && in_array($this->attribute[$this->separatorCount], $this->checkWikiWordIn)){ 71 71 $parsedContent=$this->_findWikiWord($parsedContent); 72 } 72 73 } 73 74 $this->contents[$this->separatorCount] .= $parsedContent; … … 166 167 class WikiHtmlTextLine extends WikiTag { 167 168 public $isTextLineTag=true; 169 protected $attribute=array('$$'); 170 protected $checkWikiWordIn=array('$$'); 168 171 169 172 protected function _doEscape($string){ … … 180 183 protected $name; 181 184 protected $attribute=array('$$'); 185 protected $checkWikiWordIn=array('$$'); 182 186 183 187 public function getContent(){ … … 534 538 }else{ 535 539 require_once(WIKIRENDERER_PATH . 'rules/wr3_to_xhtml.php'); 536 $this->config= new classicwr_to_xhtml();540 $this->config= new wr3_to_xhtml(); 537 541 } 538 542
