]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Render.pm
My fix to support encoded underscores in page titles broke links to pages
[ikiwiki.git] / IkiWiki / Render.pm
index 3545df05aba52c711506012254d3e0c5f6882fa6..80c99e4300bd85022fbe8a9b7cdb26d2e7f0b3b1 100644 (file)
@@ -157,7 +157,7 @@ sub scan ($) { #{{{
 
                my @links;
                while ($content =~ /(?<!\\)$config{wiki_link_regexp}/g) {
 
                my @links;
                while ($content =~ /(?<!\\)$config{wiki_link_regexp}/g) {
-                       push @links, titlepage($2);
+                       push @links, linkpage($2);
                }
                if ($config{discussion}) {
                        # Discussion links are a special case since they're
                }
                if ($config{discussion}) {
                        # Discussion links are a special case since they're