From 64645c4ed5f055aedea1685f015ea03aae376ea2 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 13 Oct 2010 17:29:28 -0400 Subject: [PATCH] Give full namespace for HTML::Entities::encode_entities(). --- IkiWiki/Plugin/inline.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/IkiWiki/Plugin/inline.pm b/IkiWiki/Plugin/inline.pm index 84bd85ada..cd8ec91d1 100644 --- a/IkiWiki/Plugin/inline.pm +++ b/IkiWiki/Plugin/inline.pm @@ -484,7 +484,8 @@ sub get_inline_content ($$$) { filter($page, $destpage, readfile(srcfile($file)))))); } elsif ($read_raw) { - $ret=encode_entities(readfile(srcfile($file)), '<>&'); + $ret=HTML::Entities::encode_entities( + readfile(srcfile($file)), '<>&'); } $nested--; if (isinternal($page)) { -- 2.26.2