diff --git a/IkiWiki/Plugin/inline.pm b/IkiWiki/Plugin/inline.pm index b40303078..b43530eb8 100644 --- a/IkiWiki/Plugin/inline.pm +++ b/IkiWiki/Plugin/inline.pm @@ -153,11 +153,6 @@ sub preprocess_inline (@) { #{{{ # that if they are removed or otherwise changed, the inline will be # sure to be updated. add_depends($params{page}, join(" or ", @list)); - # Force a scan of this page so any metadata that appears after this - # inline directive is available when inlining. The page normally - # wouldn't be scanned if it's only being rebuilt because of a - # depedency. - IkiWiki::scan($pagesources{$params{page}}); my $feednum=""; diff --git a/debian/changelog b/debian/changelog index fb6b8e8a0..cd66d3c5b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -38,6 +38,12 @@ ikiwiki (2.40) UNRELEASED; urgency=low * tla: Remove call to escapeHTML when constructing recentchanges message; the html is escaped at a different level. Closes: #466495 * bzr, mercurial: Remove unused import of escapeHTML. + * Fix another preview will_render bug. This one involved inline, + which forced a scan of the page to make available metadata that + appeared after the inline directive. Problem is that scan made it forget + about any other files rendered due to the page. The scan also turns out + to be unnecessary now, since meta persistently stores state and it's + always available. So it was just removed. -- Josh Triplett Sun, 10 Feb 2008 13:18:58 -0800