]> scripts.mit.edu Git - www/ikiwiki.git/blobdiff - IkiWiki/Plugin/inline.pm
bug
[www/ikiwiki.git] / IkiWiki / Plugin / inline.pm
index 890cdb44670db668b0199abb033836829b2188ed..eb9708a8c63a2f5ec56894ab5c3f9a05686b32c6 100644 (file)
@@ -113,7 +113,7 @@ sub preprocess_inline (@) { #{{{
                my $file = $pagesources{$page};
                my $type = pagetype($file);
                if (! $raw || ($raw && ! defined $type)) {
-                       if (! $archive && $quick) {
+                       unless ($archive && $quick) {
                                # Get the content before populating the
                                # template, since getting the content uses
                                # the same template if inlines are nested.