aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/teximg.pm
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-08-23 21:23:24 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-08-23 21:23:24 +0000
commit086349813284211ede63430b03f8278143b2ab4f (patch)
tree15da1f436f1ece5c965653651b0cbd8f51573eff /IkiWiki/Plugin/teximg.pm
parent015ce28d7202abe928457f7b3e777a671ec0412d (diff)
downloadikiwiki-086349813284211ede63430b03f8278143b2ab4f.tar
ikiwiki-086349813284211ede63430b03f8278143b2ab4f.tar.gz
typo
Diffstat (limited to 'IkiWiki/Plugin/teximg.pm')
-rw-r--r--IkiWiki/Plugin/teximg.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/teximg.pm b/IkiWiki/Plugin/teximg.pm
index 2eb13c86c..957f71a6e 100644
--- a/IkiWiki/Plugin/teximg.pm
+++ b/IkiWiki/Plugin/teximg.pm
@@ -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 {