]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/color.pm
comments: Fix missing entity encoding in title.
[git.ikiwiki.info.git] / IkiWiki / Plugin / color.pm
index 20505893b5885847370a99c84c900d6032d72ef9..d550dd9f4b42ba7759b44b9571f0bc959e026423 100644 (file)
@@ -10,6 +10,16 @@ use IkiWiki 3.00;
 sub import {
        hook(type => "preprocess", id => "color", call => \&preprocess);
        hook(type => "format",     id => "color", call => \&format);
 sub import {
        hook(type => "preprocess", id => "color", call => \&preprocess);
        hook(type => "format",     id => "color", call => \&format);
+       hook(type => "getsetup",   id => "color", call => \&getsetup);
+}
+
+sub getsetup () {
+       return
+               plugin => {
+                       safe => 1,
+                       rebuild => undef,
+                       section => "widget",
+               },
 }
 
 sub preserve_style ($$$) {
 }
 
 sub preserve_style ($$$) {