Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Link to the forum from the top-level page.
[git.ikiwiki.info.git]
/
IkiWiki
/
Plugin
/
link.pm
diff --git
a/IkiWiki/Plugin/link.pm
b/IkiWiki/Plugin/link.pm
index 3799209d062ad4308cebb3cead4e5f2617a87508..4c1add9853a3b4053f34b8d927e52ea0e7e4d1f4 100644
(file)
--- a/
IkiWiki/Plugin/link.pm
+++ b/
IkiWiki/Plugin/link.pm
@@
-3,7
+3,7
@@
package IkiWiki::Plugin::link;
use warnings;
use strict;
-use IkiWiki
2
.00;
+use IkiWiki
3
.00;
my $link_regexp;
@@
-86,7
+86,7
@@
sub scan (@) {
my $content=$params{content};
while ($content =~ /(?<!\\)$link_regexp/g) {
-
push @{$links{$page}}, linkpage($2
);
+
add_link($page, linkpage($2)
);
}
}