includes/wikiengine/render_xhtml.php
changeset 1221 d8c6b8d49604
parent 1217 feeb49aa6270
child 1227 bdac73ed481e
equal deleted inserted replaced
1220:fbfd6c852c89 1221:d8c6b8d49604
   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)