X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=sweavealike.pm;h=c3dad531655181ce6a0a9dcb8fef7e24e9a52fd7;hb=8caaacf0430089641dea405d1468cd21fc6de68c;hp=48c603c63a5f3e38339e0906f0ec377e690d0dd8;hpb=beb5a272449df826cc45fea2143e9eff1ba7c10b;p=ikiwiki_plugins.git
diff --git a/sweavealike.pm b/sweavealike.pm
index 48c603c..c3dad53 100644
--- a/sweavealike.pm
+++ b/sweavealike.pm
@@ -172,7 +172,7 @@ sub preprocess {
if ($@) {
error("code 'dev.off()' (from internal figure handling) produced error '$@'");
}
- $fig_output = qq(\n);
+ $fig_output = qq(\n\n\n);
}
if (exists $param{nooutput}) {
return($output.$fig_output);
@@ -191,7 +191,7 @@ sub preprocess {
exists $param{results}) {
$output =~ s/^/ /mg;
}
- return($output);
+ return($output.$fig_output);
}
# stop any started R processes here