summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/meta.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/IkiWiki/Plugin/meta.pm b/IkiWiki/Plugin/meta.pm
index 0c210b64d..8a9a5382b 100644
--- a/IkiWiki/Plugin/meta.pm
+++ b/IkiWiki/Plugin/meta.pm
@@ -149,9 +149,9 @@ sub preprocess (@) { #{{{
push @{$metaheaders{$page}}, '<link href="'.encode_entities($value).
'" rel="openid2.local_id" />';
}
- if (exists $params{xrds-location} && safeurl($params{xrds-location})) {
+ if (exists $params{"xrds-location"} && safeurl($params{"xrds-location"})) {
push @{$metaheaders{$page}}, '<meta http-equiv="X-XRDS-Location"'.
- 'content="'.encode_entities($params{xrds-location}).'" />';
+ 'content="'.encode_entities($params{"xrds-location"}).'" />';
}
}
elsif ($key eq 'redir') {
@@ -203,7 +203,7 @@ sub preprocess (@) { #{{{
}
elsif ($key eq 'robots') {
push @{$metaheaders{$page}}, '<meta name="robots"'.
- ' value="'.encode_entities($value).'" />';
+ ' content="'.encode_entities($value).'" />';
}
else {
push @{$metaheaders{$page}}, scrub('<meta name="'.encode_entities($key).