]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/graphviz.pm
(no commit message)
[git.ikiwiki.info.git] / IkiWiki / Plugin / graphviz.pm
index c91c92fec72af9bbe4d4cf1c8a0f07f01e6933ec..dfd66a03e2250723132caa75c2f9d5da2e2c4fc2 100644 (file)
@@ -71,7 +71,8 @@ sub render_graph (\%) {
                        writefile($dest, $config{destdir}, $png, 1);
                }
                else {
-                       # can't write the file, so embed it in a data uri
+                       # in preview mode, embed the image in a data uri
+                       # to avoid temp file clutter
                        eval q{use MIME::Base64};
                        error($@) if $@;
                        return "<img src=\"data:image/png;base64,".