]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/graphviz.pm
toc: Add the table of contents at sanitize time, rather than at format time. This...
[git.ikiwiki.info.git] / IkiWiki / Plugin / graphviz.pm
index fb32392279cbff0e0e4aa7ad434ce9b3a6acc03d..fe3559857a211807a133d9b95be05dafac5254b7 100644 (file)
@@ -73,7 +73,7 @@ sub render_graph (\%) { #{{{
                return "<img src=\"".urlto($dest, "")."\" />\n";
        }
        else {
-               return "<img src=\"".urlto($dest, $params{page})."\" />\n";
+               return "<img src=\"".urlto($dest, $params{destpage})."\" />\n";
        }
 } #}}}