Index: img_assist.css =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/img_assist/Attic/img_assist.css,v retrieving revision 1.3.2.5 diff -u -p -r1.3.2.5 img_assist.css --- img_assist.css 5 Sep 2007 23:49:05 -0000 1.3.2.5 +++ img_assist.css 8 Sep 2007 15:35:53 -0000 @@ -142,7 +142,7 @@ span.caption { .inline img{ border: 1px solid #000; /* put a thin border around inline images */ } -span.clear { /* Clear floated images. Copied from Garland's style.css. */ +.image-clear { /* Clear floated images. Copied from Garland's style.css. */ display: block; clear: both; height: 1px; Index: img_assist.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/img_assist/Attic/img_assist.module,v retrieving revision 1.68.2.22 diff -u -p -r1.68.2.22 img_assist.module --- img_assist.module 6 Sep 2007 00:05:35 -0000 1.68.2.22 +++ img_assist.module 8 Sep 2007 15:44:19 -0000 @@ -371,17 +371,19 @@ function img_assist_filter($op, $delta = foreach (img_assist_get_macros($text) as $unexpanded_macro => $macro) { $expanded_macro = img_assist_render_image($macro); $text = str_replace($unexpanded_macro, $expanded_macro, $text); + $processed = TRUE; } - return theme('img_assist_filter', $text); + return $processed ? theme('img_assist_filter', $text) : $text; + default: return $text; } } function theme_img_assist_filter($text) { - // the span tag added to the end of each node is usually necessary for - // clearing the floating properties of inline images - return $text .''; + // The div tag added to the end of each node is necessary for + // clearing the floating properties of inline images. + return $text .'
'; } /**