]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/linkmap.pm
need to handle urls to images the same
[git.ikiwiki.info.git] / IkiWiki / Plugin / linkmap.pm
index 62984d9b88b1082c8d40cca133ed8ae5174fb26f..82b38f4cb79909c449e29bd8a68340db9d343bde 100644 (file)
@@ -86,7 +86,7 @@ sub genmap ($) { #{{{
        close OUT;
 
        local $/=undef;
-       my $ret="<object data=\"".urlto($dest, $params{page}).
+       my $ret="<object data=\"".urlto($dest, $params{destpage}).
               "\" type=\"image/png\" usemap=\"#linkmap$mapnum\">\n".
                <IN>.
                "</object>";