aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
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 /IkiWiki
parent6807c0422619abbb2ec710f3260c2d21cd1378a5 (diff)
downloadikiwiki-789e0bfd6b43c20697bad7f69633e1f49a01cc5a.tar
ikiwiki-789e0bfd6b43c20697bad7f69633e1f49a01cc5a.tar.gz
inline: Fix raw mode. Closes: #552114
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/inline.pm2
1 files changed, 1 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};