From: Joey Hess Date: Thu, 1 Sep 2011 15:38:46 +0000 (-0400) Subject: Merge branch 'master' of ssh://git.ikiwiki.info X-Git-Tag: 3.20110905~18 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/ad22a39cfe57d6ed1e80434276c7c77dcbd217c7?hp=37a0eb353ea56d5e53cbe191e86844b17bf4c5ce Merge branch 'master' of ssh://git.ikiwiki.info --- 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); }); } diff --git a/debian/changelog b/debian/changelog index 5295030d5..06f07b217 100644 --- a/debian/changelog +++ b/debian/changelog @@ -21,6 +21,8 @@ ikiwiki (3.20110716) UNRELEASED; urgency=low * Use lockf rather than flock when taking the cgilock, for better portability. * search: Fix encoding bug in calculation of maximum term size. + * inline: When indexing internal pages for searching, use the url of + the inlining page. -- Joey Hess Tue, 19 Jul 2011 11:22:52 -0400