Package: ikiwiki
Version: 3.20101023
Severity: minor

htmltidy plugin is missing checkconfig registration hook. Because of this,
ikiwiki will print numerous warnings if the stupfile does not contain
'htmltidy' option. The problem is easy to fix, someone just forgot to add the
hook call.
>From 9d1681dfd04b72725c52b65de58e8dd5d82ec3f5 Mon Sep 17 00:00:00 2001
From: Tuomas Jormola <t...@solitudo.net>
Date: Sun, 31 Oct 2010 03:02:38 +0200
Subject: Added missing hook registration for checkconfig


Signed-off-by: Tuomas Jormola <t...@solitudo.net>
---
 IkiWiki/Plugin/htmltidy.pm |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/IkiWiki/Plugin/htmltidy.pm b/IkiWiki/Plugin/htmltidy.pm
index 185d01d..1108aeb 100644
--- a/IkiWiki/Plugin/htmltidy.pm
+++ b/IkiWiki/Plugin/htmltidy.pm
@@ -15,6 +15,7 @@ use IPC::Open2;
 sub import {
 	hook(type => "getsetup", id => "tidy", call => \&getsetup);
 	hook(type => "sanitize", id => "tidy", call => \&sanitize);
+	hook(type => "checkconfig", id => "tidy", call => \&checkconfig);
 }
 
 sub getsetup () {
-- 
1.7.0.4

Reply via email to