Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use newpagefile
[git.ikiwiki.info.git]
/
IkiWiki
/
Plugin
/
rawhtml.pm
diff --git
a/IkiWiki/Plugin/rawhtml.pm
b/IkiWiki/Plugin/rawhtml.pm
index 011c3a862c678d0cae73a3df3f669dec6b8d1917..74ca13f3bcac3b1041fd73a1c35ea43e1729aed8 100644
(file)
--- a/
IkiWiki/Plugin/rawhtml.pm
+++ b/
IkiWiki/Plugin/rawhtml.pm
@@
-7,7
+7,16
@@
use strict;
use IkiWiki 2.00;
sub import { #{{{
use IkiWiki 2.00;
sub import { #{{{
+ hook(type => "getsetup", id => "rawhtml", call => \&getsetup);
$config{wiki_file_prune_regexps} = [ grep { !m/\\\.x\?html\?\$/ } @{$config{wiki_file_prune_regexps}} ];
} # }}}
$config{wiki_file_prune_regexps} = [ grep { !m/\\\.x\?html\?\$/ } @{$config{wiki_file_prune_regexps}} ];
} # }}}
+sub getsetup () { #{{{
+ return
+ plugin => {
+ safe => 1,
+ rebuild => 1, # changes file types
+ },
+} #}}}
+
1
1