]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/meta.pm
Add configuration to restrict the formats allowed for comments
[git.ikiwiki.info.git] / IkiWiki / Plugin / meta.pm
index c79c8ccc08169842c8c292157015332af5ed855a..421f1dc86a83d33ac823f9989ad9e42c6dea12c9 100644 (file)
@@ -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);
        }