diff -r f99fb84bd959 -r 7c68a18a27be includes/render.php
--- a/includes/render.php Mon Aug 06 10:37:42 2007 -0400
+++ b/includes/render.php Thu Aug 09 12:26:16 2007 -0400
@@ -826,6 +826,12 @@
$img_tag .= 'style="border-width: 0px; /* background-color: white; */" ';
+ $code = $plugins->setHook('img_tag_parse_img');
+ foreach ( $code as $cmd )
+ {
+ eval($cmd);
+ }
+
$img_tag .= '/>';
$complete_tag = '';
@@ -868,7 +874,13 @@
}
else
{
- $complete_tag .= '';
+ $complete_tag .= 'setHook('img_tag_parse_link');
+ foreach ( $code as $cmd )
+ {
+ eval($cmd);
+ }
+ $complete_tag .= '>';
$complete_tag .= $img_tag;
$complete_tag .= '';
}