Index: edge.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/edge/edge.module,v
retrieving revision 1.5
diff -u -p -r1.5 edge.module
--- edge.module	7 Dec 2010 15:09:37 -0000	1.5
+++ edge.module	18 Feb 2011 13:51:11 -0000
@@ -152,7 +152,12 @@ function edge_pre_render_table($element)
     foreach (element_children($element[$first]) as $second) {
       // Assign the element by reference, so any potential changes to the
       // original element are taken over.
-      $row['data'][] = array('data' => &$element[$first][$second]);
+      $cell = array('data' => &$element[$first][$second]);
+      // Apply attributes of second-level elements into cell attributes.
+      if (isset($element[$first][$second]['#attributes'])) {
+        $cell += $element[$first][$second]['#attributes'];
+      }
+      $row['data'][] = $cell;
     }
     $element['#rows'][] = $row;
   }
