Index: table_altrow.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/table_altrow/table_altrow.module,v retrieving revision 1.1.2.3 diff -u -r1.1.2.3 table_altrow.module --- table_altrow.module 6 Jan 2009 02:43:45 -0000 1.1.2.3 +++ table_altrow.module 6 Jan 2009 02:46:45 -0000 @@ -60,11 +60,11 @@ $matches = array(); $offset = 0; // Find a tbody - while(preg_match('!(
)!', $text, $matches, PREG_OFFSET_CAPTURE, $offset)) { + while(preg_match('!(]*>)!', $text, $matches, PREG_OFFSET_CAPTURE, $offset)) { $offset = $matches[0][1]; $count = 1; // While the tbody is still open - while(preg_match('!(