add htmlise

master
joey 2006-07-03 22:42:11 +00:00
parent c1160151d3
commit 66ce94c464
1 changed files with 10 additions and 0 deletions

View File

@ -15,6 +15,8 @@ sub import { #{{{
call => \&preprocess);
IkiWiki::hook(type => "filter", id => "skeleton",
call => \&filter);
IkiWiki::hook(type => "htmlize", id => "skeleton",
call => \&htmlize);
IkiWiki::hook(type => "sanitize", id => "skeleton",
call => \&sanitize);
IkiWiki::hook(type => "pagetemplate", id => "skeleton",
@ -45,6 +47,14 @@ sub filter (@) { #{{{
return $params{content};
} # }}}
sub htmlize ($) { #{{{
my $content=shift;
IkiWiki::debug("skeleton plugin running as htmlize");
return $content;
} # }}}
sub sanitize ($) { #{{{
my $content=shift;