diff options
-rw-r--r-- | IkiWiki/Plugin/meta.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/meta.pm b/IkiWiki/Plugin/meta.pm index 8803747fb..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') { |