* 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.
master
Joey Hess 2008-02-24 15:36:25 -05:00
parent 023e3c47a4
commit f7303db5a1
2 changed files with 6 additions and 5 deletions

View File

@ -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="";

6
debian/changelog vendored
View File

@ -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 <josh@freedesktop.org> Sun, 10 Feb 2008 13:18:58 -0800