X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/a7b8e35bf90fa9e2df8be78ac636b158760ecf9c..d36361b01015da0338d3c0dc20625b5121ed94b2:/IkiWiki/Plugin/graphviz.pm
diff --git a/IkiWiki/Plugin/graphviz.pm b/IkiWiki/Plugin/graphviz.pm
index ee97c71d1..fe3559857 100644
--- a/IkiWiki/Plugin/graphviz.pm
+++ b/IkiWiki/Plugin/graphviz.pm
@@ -69,7 +69,12 @@ sub render_graph (\%) { #{{{
}
}
- return "\n";
+ if ($params{preview}) {
+ return "\n";
+ }
+ else {
+ return "\n";
+ }
} #}}}
sub graph (@) { #{{{