typo
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Thu, 23 Aug 2007 21:23:24 +0000 (21:23 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Thu, 23 Aug 2007 21:23:24 +0000 (21:23 +0000)
IkiWiki/Plugin/teximg.pm

index 2eb13c86c3c3c024fc1f4903043e708d76d49a15..957f71a6e94b20a182c44e74641c7de0a76f3e72 100644 (file)
@@ -90,7 +90,7 @@ sub create ($$$) { #{{{
        if (-e "$config{destdir}/$imglink" ||
            gen_image($code, $height, $digest, $teximgdir)) {
                return qq{<img src="$imgurl" alt="}
-                       .(exists $params{alt} ? $params{alt} : encode_entities($code))
+                       .(exists $params->{alt} ? $params->{alt} : encode_entities($code))
                        .qq{" class="teximg" />};
        }
        else {