From c28a3eee0f6b117832a364b0c3e7dc6efe8bc479 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 e23ba316d..fb325abd8 100755 --- a/IkiWiki/Plugin/inline.pm +++ b/IkiWiki/Plugin/inline.pm @@ -532,7 +532,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