Give full namespace for HTML::Entities::encode_entities(). raw_inline
authorW. Trevor King <wking@drexel.edu>
Wed, 13 Oct 2010 21:29:28 +0000 (17:29 -0400)
committerW. Trevor King <wking@tremily.us>
Sun, 13 Jan 2013 12:12:03 +0000 (07:12 -0500)
IkiWiki/Plugin/inline.pm

index e23ba316d2e4ca9f1eb48785ddf30d193801ed46..fb325abd82823476a5e16342af914bcd0b9fa769 100755 (executable)
@@ -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)) {