]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/html.pm
* Patch from Emanuele Aina to fix modification time code in mercurual
[ikiwiki.git] / IkiWiki / Plugin / html.pm
index 4270a7eb67c247123cacf2a4fd486157ccbdb780..fd40d5ad97910b72f5d81ceded2a287efd44f96d 100644 (file)
@@ -12,7 +12,7 @@ sub import { #{{{
 
        # ikiwiki defaults to skipping .html files as a security measure;
        # make it process them so this plugin can take effect
-       $config{wiki_file_prune_regexp} =~ s/\|\\\.x\?html\?\$//;
+       $config{wiki_file_prune_regexps} = [ grep { !m/\\\.x\?html\?\$/ } @{$config{wiki_file_prune_regexps}} ];
 } # }}}
 
 sub htmlize (@) { #{{{