]> git.donarmstrong.com Git - ikiwiki_plugins.git/commitdiff
test to make sure sweavealike is running
authorDon Armstrong <don@donarmstrong.com>
Wed, 21 Mar 2012 17:05:28 +0000 (10:05 -0700)
committerDon Armstrong <don@donarmstrong.com>
Wed, 21 Mar 2012 17:05:28 +0000 (10:05 -0700)
sweavealike.pm

index 939f803dce772ea2ad7165eef871cf064e14e60e..2056e51fadc15b245466089d16f63c2e77162691 100644 (file)
@@ -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;
     }