Give full namespace for HTML::Entities::encode_entities().
authorW. Trevor King <wking@drexel.edu>
Wed, 13 Oct 2010 21:29:28 +0000 (17:29 -0400)
committerW. Trevor King <wking@drexel.edu>
Wed, 13 Oct 2010 21:29:28 +0000 (17:29 -0400)
IkiWiki/Plugin/inline.pm

index 84bd85adaf0ee3c4ef53009a97be931d7e19905a..cd8ec91d18bf9b15f8a9c357ec5ca5610caaa4aa 100644 (file)
@@ -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)) {