From 789e0bfd6b43c20697bad7f69633e1f49a01cc5a Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 23 Oct 2009 12:38:30 -0400 Subject: [PATCH] inline: Fix raw mode. Closes: #552114 --- IkiWiki/Plugin/inline.pm | 2 +- debian/changelog | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/IkiWiki/Plugin/inline.pm b/IkiWiki/Plugin/inline.pm index a836c18f4..942df6f89 100644 --- a/IkiWiki/Plugin/inline.pm +++ b/IkiWiki/Plugin/inline.pm @@ -332,7 +332,7 @@ sub preprocess_inline (@) { error sprintf(gettext("nonexistant template %s"), $params{template}); } my $template=HTML::Template->new(@params) unless $raw; - my $needcontent=!($archive && $quick) && $template->query(name => 'content'); + my $needcontent=$raw || (!($archive && $quick) && $template->query(name => 'content')); foreach my $page (@list) { my $file = $pagesources{$page}; diff --git a/debian/changelog b/debian/changelog index 9b0cd5f52..278ea01bc 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +ikiwiki (3.20091023) UNRELEASED; urgency=low + + * inline: Fix raw mode. Closes: #552114 + + -- Joey Hess Fri, 23 Oct 2009 12:37:51 -0400 + ikiwiki (3.20091022) unstable; urgency=low * edittemplate: Allow template page name to be specified using anything -- 2.44.0