]> git.donarmstrong.com Git - ikiwiki_plugins.git/blobdiff - sweavealike.pm
add missing semicolon
[ikiwiki_plugins.git] / sweavealike.pm
index 939f803dce772ea2ad7165eef871cf064e14e60e..2989c83e2bc131accf5fc748fbfbd4d35a51377c 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;
     }