From: Joey Hess Date: Wed, 12 Mar 2008 14:35:25 +0000 (-0400) Subject: fix syntax error X-Git-Tag: 2.41~152 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=51ee2a2eab5ae9a923393d7a9b4e5a08772ae54d;p=ikiwiki.git fix syntax error --- 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}}, ''; } - if (exists $params{xrds-location} && safeurl($params{xrds-location})) { + if (exists $params{"xrds-location"} && safeurl($params{"xrds-location"})) { push @{$metaheaders{$page}}, ''; + 'content="'.encode_entities($params{"xrds-location"}).'" />'; } } elsif ($key eq 'redir') {