2 # Raw html as a wiki page type.
3 package IkiWiki
::Plugin
::html
;
10 hook
(type
=> "getsetup", id
=> "html", call
=> \
&getsetup
);
11 hook
(type
=> "htmlize", id
=> "html", call
=> \
&htmlize
);
12 hook
(type
=> "htmlize", id
=> "htm", call
=> \
&htmlize
);
14 # ikiwiki defaults to skipping .html files as a security measure;
15 # make it process them so this plugin can take effect
16 $config{wiki_file_prune_regexps
} = [ grep { !m/\\\.x\?html\?\$/ } @
{$config{wiki_file_prune_regexps
}} ];
23 rebuild
=> 1, # format plugin
30 return $params{content
};