diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-07-03 22:42:11 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-07-03 22:42:11 +0000 |
commit | 66ce94c46471c01b2c2cdeff3664347548e1e4d3 (patch) | |
tree | a560c27ac70aadaa1d810f98f9946e9ca4a92fdf | |
parent | c1160151d354b7f46cafcf0e5e10402322d44e58 (diff) |
add htmlise
-rw-r--r-- | IkiWiki/Plugin/skeleton.pm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/IkiWiki/Plugin/skeleton.pm b/IkiWiki/Plugin/skeleton.pm index 226270c38..306f54415 100644 --- a/IkiWiki/Plugin/skeleton.pm +++ b/IkiWiki/Plugin/skeleton.pm @@ -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; |