From: Don Armstrong Date: Wed, 21 Mar 2012 17:05:28 +0000 (-0700) Subject: test to make sure sweavealike is running X-Git-Url: https://git.donarmstrong.com/?p=ikiwiki_plugins.git;a=commitdiff_plain;h=1ffc765a589a98c325c2337fe59680658659cabc test to make sure sweavealike is running --- diff --git a/sweavealike.pm b/sweavealike.pm index 939f803..2056e51 100644 --- a/sweavealike.pm +++ b/sweavealike.pm @@ -62,8 +62,8 @@ sub preprocess { if ($@) { error($@); } - my $output; - if ($param{verbatim}) { + my $output = "sweave output\n\n" + if (exists $param{verbatim}) { $output = $param{code}; $output =~ s/^/> /mg; }