aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2012-04-18 15:36:27 -0400
committerJoey Hess <joey@kitenet.net>2012-04-18 15:36:27 -0400
commit30a3efda58cdf10219bdbf4453354d7d07b2bcad (patch)
tree3d352f8452b57eade8dd32f9fdb220dc2bcf9785 /IkiWiki
parent30efedbbd07e5dd707cd98e89e6e0e4cc3dbbd02 (diff)
downloadikiwiki-30a3efda58cdf10219bdbf4453354d7d07b2bcad.tar
ikiwiki-30a3efda58cdf10219bdbf4453354d7d07b2bcad.tar.gz
graphviz: Handle self-links.
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/graphviz.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/IkiWiki/Plugin/graphviz.pm b/IkiWiki/Plugin/graphviz.pm
index b9f997e04..d4018edaa 100644
--- a/IkiWiki/Plugin/graphviz.pm
+++ b/IkiWiki/Plugin/graphviz.pm
@@ -132,6 +132,7 @@ sub graph (@) {
}, "text");
$p->parse($src);
$p->eof;
+ $s=~s/\[ href= \]//g; # handle self-links
$params{src}=$s;
}
else {