]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
graphviz: Handle self-links.
authorJoey Hess <joey@kitenet.net>
Wed, 18 Apr 2012 19:36:27 +0000 (15:36 -0400)
committerJoey Hess <joey@kitenet.net>
Wed, 18 Apr 2012 19:36:27 +0000 (15:36 -0400)
IkiWiki/Plugin/graphviz.pm
debian/changelog

index b9f997e04b123a11a50aa9dddac82d982fb2fbf7..d4018edaaf9dad384818488356a3e7e8c4d8841c 100644 (file)
@@ -132,6 +132,7 @@ sub graph (@) {
                }, "text");
                $p->parse($src);
                $p->eof;
+               $s=~s/\[ href= \]//g; # handle self-links
                $params{src}=$s;
        }
        else {
index 0aca37032a0a7ac0758c127c84ba8d03de10367e..689197aea1f0b4a48fb5fc8941db62318c7be413 100644 (file)
@@ -22,6 +22,7 @@ ikiwiki (3.20120204) UNRELEASED; urgency=low
     a bug, and makes pagenames more consistent with the pagespec used
     in the pages parameter. (smcv)
   * link: Fix renaming wikilinks that contain embedded urls.
+  * graphviz: Handle self-links.
 
  -- Joey Hess <joeyh@debian.org>  Wed, 21 Mar 2012 14:33:14 -0400