the old code worked, suprisingly, but I prefer this form
authorJoey Hess <joey@kodama.kitenet.net>
Mon, 4 Feb 2008 23:05:40 +0000 (18:05 -0500)
committerJoey Hess <joey@kodama.kitenet.net>
Mon, 4 Feb 2008 23:05:40 +0000 (18:05 -0500)
IkiWiki/Plugin/teximg.pm

index 5f9589fdd997452527492cab2c4256a4b12954e2..5dff5feef30913bd598da7e02ab7b2f42b5cfa2b 100644 (file)
@@ -82,8 +82,8 @@ sub create ($$$) { #{{{
                $logurl = urlto($imglog, $params->{destpage});
        }
        else {
-               $imgurl="$params->{page}/$digest.png";
-               $logurl="$params->{page}/$digest.log";
+               $imgurl=$params->{page}."/$digest.png";
+               $logurl=$params->{page}."/$digest.log";
        }
        
        if (-e "$config{destdir}/$imglink" ||