diff options
author | Jon Dowland <jmtd@debian.org> | 2010-05-04 16:39:50 +0100 |
---|---|---|
committer | Jon Dowland <jmtd@debian.org> | 2010-05-04 16:39:50 +0100 |
commit | 89e0669692eaf597596f1da36e8c385330c594ff (patch) | |
tree | 1f31153af5c1684269536ebe33e88267a8c2cf55 /doc/bugs/Problems_with_graphviz.pm_plug-in.mdwn | |
parent | bde13387daffaf5f1eb06ead1c0277fe616932f2 (diff) | |
download | ikiwiki-89e0669692eaf597596f1da36e8c385330c594ff.tar ikiwiki-89e0669692eaf597596f1da36e8c385330c594ff.tar.gz |
split two graphviz bugs from one page; undo one of them
Diffstat (limited to 'doc/bugs/Problems_with_graphviz.pm_plug-in.mdwn')
-rw-r--r-- | doc/bugs/Problems_with_graphviz.pm_plug-in.mdwn | 23 |
1 files changed, 2 insertions, 21 deletions
diff --git a/doc/bugs/Problems_with_graphviz.pm_plug-in.mdwn b/doc/bugs/Problems_with_graphviz.pm_plug-in.mdwn index c9f698158..bc80125ad 100644 --- a/doc/bugs/Problems_with_graphviz.pm_plug-in.mdwn +++ b/doc/bugs/Problems_with_graphviz.pm_plug-in.mdwn @@ -9,31 +9,12 @@ The graphviz.pm plug-in currently attempts to read PNG data in UTF-8 mode, which It also generates image URLs relative to the page being rendered, which means the URLs wont work when previewing a graph from the CGI script. +(preview bug split to [[Problems_with_graphviz.pm_plug-in_previews]]) + >> Here is an updated patch againt ikiwiki-2.5: >>> [[Applied|done]], thanks. --[[Joey]] - --- IkiWiki/Plugin/graphviz.pm.orig 2007-07-27 11:35:05.000000000 +0200 - +++ IkiWiki/Plugin/graphviz.pm 2007-07-27 11:36:02.000000000 +0200 - @@ -69,7 +69,12 @@ sub render_graph (\%) { - } - } - - - return "<img src=\"".urlto($dest, $params{page})."\" />\n"; - + if ($params{preview}) { - + return "<img src=\"".urlto($dest, "")."\" />\n"; - + } - + else { - + return "<img src=\"".urlto($dest, $params{page})."\" />\n"; - + } - } - - sub graph (@) { - - ->> --[[HenrikBrixAndersen]] - - The patch below fixes these two issues. --- graphviz.pm.orig Thu Jun 7 15:45:16 2007 |