]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/meta.pm
load HTML::Entities at top
[ikiwiki.git] / IkiWiki / Plugin / meta.pm
index 8803747fb9bd3cb932b222f9dd8f81aa600874b8..8a9a5382b00823ffdcd2825f5db6ae9214490480 100644 (file)
@@ -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') {