2 # Raw html as a wiki page type.
3 package IkiWiki::Plugin::html;
10 hook(type => "htmlize", id => "html", call => \&htmlize);
11 hook(type => "htmlize", id => "htm", call => \&htmlize);
13 # ikiwiki defaults to skipping .html files as a security measure;
14 # make it process them so this plugin can take effect
15 $config{wiki_file_prune_regexp} =~ s/\|\\\.x\?html\?\$//;
18 sub htmlize (@) { #{{{
20 return $params{content};