aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-10-23 12:38:30 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-10-23 12:38:30 -0400
commit789e0bfd6b43c20697bad7f69633e1f49a01cc5a (patch)
tree35bcb89ac07ca66a49349d8e04006b9ee93b3fd4
parent6807c0422619abbb2ec710f3260c2d21cd1378a5 (diff)
downloadikiwiki-789e0bfd6b43c20697bad7f69633e1f49a01cc5a.tar
ikiwiki-789e0bfd6b43c20697bad7f69633e1f49a01cc5a.tar.gz
inline: Fix raw mode. Closes: #552114
-rw-r--r--IkiWiki/Plugin/inline.pm2
-rw-r--r--debian/changelog6
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