# HG changeset patch # User Dan # Date 1246539433 14400 # Node ID 1d9846ec37f537f6d95d200e3170d35cce47b1bf # Parent dde4416dea00eaddd72cd565a40d8ad9fd75429d Installer: now compatible with new rendering engine 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]*?)