diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-10-23 12:38:30 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-10-23 12:38:30 -0400 |
commit | 789e0bfd6b43c20697bad7f69633e1f49a01cc5a (patch) | |
tree | 35bcb89ac07ca66a49349d8e04006b9ee93b3fd4 | |
parent | 6807c0422619abbb2ec710f3260c2d21cd1378a5 (diff) |
inline: Fix raw mode. Closes: #552114
-rw-r--r-- | IkiWiki/Plugin/inline.pm | 2 | ||||
-rw-r--r-- | debian/changelog | 6 |
2 files changed, 7 insertions, 1 deletions
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 <joeyh@debian.org> Fri, 23 Oct 2009 12:37:51 -0400 + ikiwiki (3.20091022) unstable; urgency=low * edittemplate: Allow template page name to be specified using anything |