X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/a7b8e35bf90fa9e2df8be78ac636b158760ecf9c..19a7752021249eb8984e523fd6ed5a3730dc9be7:/IkiWiki/Plugin/graphviz.pm
diff --git a/IkiWiki/Plugin/graphviz.pm b/IkiWiki/Plugin/graphviz.pm
index ee97c71d1..fb3239227 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 (@) { #{{{