better misctemplate splitting sequence
authorJoey Hess <joey@kitenet.net>
Sat, 15 May 2010 01:40:30 +0000 (21:40 -0400)
committerJoey Hess <joey@kitenet.net>
Sat, 15 May 2010 01:40:30 +0000 (21:40 -0400)
IkiWiki/Plugin/websetup.pm

index 9cb5eb13c13740ed6e609679c49b0468458ec115..c4b75c4b3c98988938bcdd989109513babecba2d 100644 (file)
@@ -450,8 +450,8 @@ sub showform ($$) {
                        IkiWiki::unlockwiki();
 
                        # Print the top part of a standard misctemplate,
-                       # then show the rebuild or refresh.
-                       my $divider="xxx";
+                       # then show the rebuild or refresh, live.
+                       my $divider="\0";
                        my $html=IkiWiki::misctemplate("setup", $divider);
                        IkiWiki::printheader($session);
                        my ($head, $tail)=split($divider, $html, 2);