inline: When indexing internal pages for searching, use the url of the inlining page.

master
Joey Hess 2011-09-01 11:38:10 -04:00
parent 2c2c537dd5
commit 7d2b68cd16
2 changed files with 3 additions and 1 deletions

View File

@ -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);
});
}

2
debian/changelog vendored
View File

@ -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 <joeyh@debian.org> Tue, 19 Jul 2011 11:22:52 -0400