From 7d2b68cd16dd50a76b3b93699e59b7ec4c00a907 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 1 Sep 2011 11:38:10 -0400 Subject: inline: When indexing internal pages for searching, use the url of the inlining page. --- IkiWiki/Plugin/inline.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'IkiWiki/Plugin/inline.pm') diff --git a/IkiWiki/Plugin/inline.pm b/IkiWiki/Plugin/inline.pm index 77634066b..159cc5def 100644 --- a/IkiWiki/Plugin/inline.pm +++ b/IkiWiki/Plugin/inline.pm @@ -506,7 +506,7 @@ sub get_inline_content ($$) { if (isinternal($page)) { # make inlined text of internal pages searchable run_hooks(indexhtml => sub { - shift->(page => $page, destpage => $page, + shift->(page => $page, destpage => $destpage, content => $ret); }); } -- cgit v1.2.3