]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/inline.pm
This reverts commit cc98f947cc3ddd86dc001e19a75b41daf1f0524a
[ikiwiki.git] / IkiWiki / Plugin / inline.pm
index 77634066b795c94151c609b1ec7c8dd063da672d..159cc5def01d59aaa3f532cbb4fea14ab52f6435 100644 (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);
                        });
                }