includes/wikiengine/render_xhtml.php
changeset 1187 5d33f9511995
parent 1174 def792dd9b1b
child 1217 feeb49aa6270
equal deleted inserted replaced
1186:774ae986fded 1187:5d33f9511995
   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[0]) . '</pre>';
   162     return '<pre>' . htmlspecialchars($match[1]) . '</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)