includes/wikiengine/render_xhtml.php
changeset 1174 def792dd9b1b
parent 1156 417e66a664d0
child 1187 5d33f9511995
equal deleted inserted replaced
1173:b5b8e7ab0914 1174:def792dd9b1b
   154   public function mailtowithtext($pieces)
   154   public function mailtowithtext($pieces)
   155   {
   155   {
   156     global $email;
   156     global $email;
   157     return $email->encryptEmail($pieces[1], '', '', $pieces[2]);
   157     return $email->encryptEmail($pieces[1], '', '', $pieces[2]);
   158   }
   158   }
       
   159   
       
   160   public function code($match)
       
   161   {
       
   162     return '<pre>' . htmlspecialchars($match[0]) . '</pre>';
       
   163   }
   159 }
   164 }
   160 
   165 
   161 // Alias internal link parsing to RenderMan's method
   166 // Alias internal link parsing to RenderMan's method
   162 function parser_mediawiki_xhtml_internallink($text)
   167 function parser_mediawiki_xhtml_internallink($text)
   163 {
   168 {