]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/brokenlinks.pm
so make sure to let perl know it should be handled as utf8. Also,
[git.ikiwiki.info.git] / IkiWiki / Plugin / brokenlinks.pm
index 22590366b641b19ad8e3a34dfc1e1bacf236e93d..deee582220799b70c8f0b87e74859a71c9eb6783 100644 (file)
@@ -27,9 +27,9 @@ sub preprocess (@) { #{{{
                                my $bestlink=IkiWiki::bestlink($page, $link);
                                next if length $bestlink;
                                push @broken,
                                my $bestlink=IkiWiki::bestlink($page, $link);
                                next if length $bestlink;
                                push @broken,
-                                       IkiWiki::htmllink($page, $link, 1).
+                                       IkiWiki::htmllink($page, $page, $link, 1).
                                        " in ".
                                        " in ".
-                                       IkiWiki::htmllink($params{page}, $page, 1);
+                                       IkiWiki::htmllink($params{page}, $params{page}, $page, 1);
                        }
                }
        }
                        }
                }
        }