diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-07-25 02:15:52 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-07-25 02:15:52 +0000 |
commit | a7b8e35bf90fa9e2df8be78ac636b158760ecf9c (patch) | |
tree | f098a2aaa37bece5cfd7abe7d47b8b4fbf27a0d9 /doc/bugs/Problems_with_graphviz.pm_plug-in.mdwn | |
parent | a4b3300fde7a9e5695debcd4ee90cf173ef372d1 (diff) | |
download | ikiwiki-a7b8e35bf90fa9e2df8be78ac636b158760ecf9c.tar ikiwiki-a7b8e35bf90fa9e2df8be78ac636b158760ecf9c.tar.gz |
* Fix graphviz plugin to not try to read images as utf-8; they might
sometimes contain invalid utf-8 byte sequences. Thanks,
HenrikBrixAndersen.
Diffstat (limited to 'doc/bugs/Problems_with_graphviz.pm_plug-in.mdwn')
-rw-r--r-- | doc/bugs/Problems_with_graphviz.pm_plug-in.mdwn | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/bugs/Problems_with_graphviz.pm_plug-in.mdwn b/doc/bugs/Problems_with_graphviz.pm_plug-in.mdwn index 7abf152b9..9eca41faf 100644 --- a/doc/bugs/Problems_with_graphviz.pm_plug-in.mdwn +++ b/doc/bugs/Problems_with_graphviz.pm_plug-in.mdwn @@ -3,8 +3,14 @@ The graphviz.pm plug-in currently attempts to read PNG data in UTF-8 mode, which utf8 "\x89" does not map to Unicode at /usr/local/lib/perl5/site_perl/5.8.8/IkiWiki/Plugin/graphviz.pm line 53, <IN> chunk 1. Wide character in subroutine entry at /usr/local/lib/perl5/site_perl/5.8.8/IkiWiki/Plugin/graphviz.pm line 68. +> Ok, will remove the binmode IN then. [[done]] --[[Joey]] + 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. +> You seem to be using an old version of ikiwiki, these preview isues have +> been fixed for some time, and the code doesn't look like what you patch +> in your second hunk. --[[Joey]] + The patch below fixes these two issues. --- graphviz.pm.orig Thu Jun 7 15:45:16 2007 |