includes/wikiformat.php
changeset 78 4df25dfdde63
parent 35 efae425e9b98
child 142 ca9118d9c0f2
equal deleted inserted replaced
77:63ca29eda873 78:4df25dfdde63
   377 
   377 
   378       $result = $this->loadFormatObj($format);
   378       $result = $this->loadFormatObj($format);
   379       if ($this->isError($result)) {
   379       if ($this->isError($result)) {
   380         return $result;
   380         return $result;
   381       }
   381       }
   382 
   382       
   383       if (is_object($this->formatObj[$format])) {
   383       if (is_object($this->formatObj[$format])) {
   384         $output .= $this->formatObj[$format]->pre();
   384         $output .= $this->formatObj[$format]->pre();
   385       }
   385       }
   386 
   386 
   387       foreach (array_keys($this->_countRulesTokens) as $rule) {
   387       foreach (array_keys($this->_countRulesTokens) as $rule) {
   388         $this->loadRenderObj($format, $rule);
   388         $this->loadRenderObj($format, $rule);
   389       }
   389       }
   390 
   390       
   391       $k = strlen($this->source);
   391       $k = strlen($this->source);
   392       for ($i = 0; $i < $k; $i++) {
   392       for ($i = 0; $i < $k; $i++) {
   393 
   393 
   394         $char = $this->source{$i};
   394         $char = $this->source{$i};
   395 
   395