3 package IkiWiki::Plugin::otl;
11 IkiWiki::hook(type => "htmlize", id => "otl", call => \&htmlize);
14 sub htmlize ($) { #{{{
18 open2(*IN, *OUT, 'otl2html -S /dev/null -T /dev/stdin');
23 IkiWiki::debug("failed to run otl2html: $@");
27 # open2 doesn't respect "use open ':utf8'"
28 binmode (IN, ':utf8');
29 binmode (OUT, ':utf8');