]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/inline.pm
Forgotten notice about /ostatnie_zmiany.html page
[git.ikiwiki.info.git] / IkiWiki / Plugin / inline.pm
index 933e30646d51bc22fb377df5d288245008c94b38..715a3d6523cfcee4e57c125425d19cfdab110298 100644 (file)
@@ -476,6 +476,13 @@ sub get_inline_content ($$) {
                       filter($page, $destpage,
                       readfile(srcfile($file))))));
                $nested--;
+               if (isinternal($page)) {
+                       # make inlined text of internal pages searchable
+                       run_hooks(indexhtml => sub {
+                               shift->(page => $page, destpage => $page,
+                                       content => $ret);
+                       });
+               }
        }
        
        if ($cached_destpage ne $destpage) {