From 18b0f2737b3f1478deff6e9c48217c6f22a576ea Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 16 May 2012 22:13:23 -0400 Subject: [PATCH 1/1] ensure HTML::Entities is always loaded (Worked ok in my tests w/o this, but not sure I tested every case, and this is correct.) --- IkiWiki/Plugin/meta.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/IkiWiki/Plugin/meta.pm b/IkiWiki/Plugin/meta.pm index c79c8ccc0..421f1dc86 100644 --- a/IkiWiki/Plugin/meta.pm +++ b/IkiWiki/Plugin/meta.pm @@ -319,6 +319,7 @@ sub pagetemplate (@) { } foreach my $field (qw{authorurl}) { + eval q{use HTML::Entities}; $template->param($field => HTML::Entities::encode_entities($pagestate{$page}{meta}{$field})) if exists $pagestate{$page}{meta}{$field} && $template->query(name => $field); } -- 2.39.5