X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/5466a1daf99e8e4c67a19f871aaf558312569652..7b87549558a538e604c4368dc653eba11cb87bc9:/IkiWiki/Plugin/skeleton.pm 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;