I have been trying to include some meta info using the link setting something like the below
meta link="http://www.example.com/" rel="command" name="Example"
This gets removed by the htmlscrubber as you would expect.
Setting htmlscrubber_skip to the pagespec should stop this getting scrubbed but it does not.
Below is a patch to fix that. It seams to work but I am not sure of it is the correct thing to do.
--- meta.pm 2008-12-11 17:50:33.000000000 +0000
+++ meta.pm.orig 2008-12-10 17:41:23.000000000 +0000
@@ -38,9 +38,10 @@
}
}
-sub scrub (@) { #{{{
+sub scrub ($) { #{{{
if (IkiWiki::Plugin::htmlscrubber->can("sanitize")) {
-
" />\n");
}
}
elsif ($key eq 'robots') {
@@ -225,7 +226,7 @@
}
else {
push @{$metaheaders{$page}}, scrub('<meta name="'.encode_entities($key).
|