<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">#!/usr/bin/perl
# Raw html as a wiki page type.
package IkiWiki::Plugin::html;

use warnings;
use strict;
use IkiWiki;

sub import { #{{{
	IkiWiki::hook(type =&gt; "htmlize", id =&gt; "html", call =&gt; sub { shift });
	IkiWiki::hook(type =&gt; "htmlize", id =&gt; "htm", call =&gt; sub { shift });

	# ikiwiki defaults to skipping .html files as a security measure;
	# make it process them so this plugin can take effect
	$IkiWiki::config{wiki_file_prune_regexp} =~ s/\|\\\.x\?html\?\$//;
} # }}}

1
</pre></body></html>