From 51ee2a2eab5ae9a923393d7a9b4e5a08772ae54d Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 12 Mar 2008 10:35:25 -0400 Subject: [PATCH] fix syntax error --- IkiWiki/Plugin/meta.pm | 4 ++-- 1 file 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}}, ''; } - 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') { -- 2.32.0.93.g670b81a890