includes/wikiengine/render_xhtml.php
changeset 1217 feeb49aa6270
parent 1187 5d33f9511995
child 1227 bdac73ed481e
equal deleted inserted replaced
1216:4125e19d3b27 1217:feeb49aa6270
   157     return $email->encryptEmail($pieces[1], '', '', $pieces[2]);
   157     return $email->encryptEmail($pieces[1], '', '', $pieces[2]);
   158   }
   158   }
   159   
   159   
   160   public function code($match)
   160   public function code($match)
   161   {
   161   {
   162     return '<pre>' . htmlspecialchars($match[1]) . '</pre>';
   162     return '<pre class="wikitext-code"><final>' . htmlspecialchars($match[1]) . '</final></pre>';
   163   }
   163   }
   164 }
   164 }
   165 
   165 
   166 // Alias internal link parsing to RenderMan's method
   166 // Alias internal link parsing to RenderMan's method
   167 function parser_mediawiki_xhtml_internallink($text)
   167 function parser_mediawiki_xhtml_internallink($text)