diff -r dde4416dea00 -r 1d9846ec37f5 install/includes/stages/license.php --- a/install/includes/stages/license.php Sun Jun 21 00:31:29 2009 -0400 +++ b/install/includes/stages/license.php Thu Jul 02 08:57:13 2009 -0400 @@ -55,19 +55,22 @@ setRenderConf('Xhtml', 'code', 'css_filename', 'codefilename'); - $wiki->setRenderConf('Xhtml', 'wikilink', 'view_url', scriptPath . '/index.php?title='); - $result = $wiki->transform($message, 'Xhtml'); + require_once( ENANO_ROOT . '/includes/render.php' ); + require_once( ENANO_ROOT . '/includes/wikiformat.php' ); + require_once( ENANO_ROOT . '/includes/wikiengine/TagSanitizer.php' ); + require_once( ENANO_ROOT . '/includes/wikiengine/Tables.php' ); - // HTML fixes - $result = preg_replace('#
([\s]*?)<\/p>#is', '', $result);
- $result = preg_replace('#
([\s]*?)