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	25 Jan 2011 02:03:24 -0000
@@ -85,6 +85,20 @@ function edge_css_alter(&$css) {
 }
 
 /**
+ * Theme preprocess hook for theme_html_tag().
+ *
+ * Copies non-empty #children into empty #value to allow usage of
+ * theme_html_tag() in #theme_wrappers.
+ */
+function edge_preprocess_html_tag(&$variables) {
+  // theme_html_tag() tests #value against NULL, drupal_render() defaults
+  // #children to an empty string.
+  if (!isset($variables['element']['#value']) && isset($variables['element']['#children']) && $variables['element']['#children'] !== '') {
+    $variables['element']['#value'] = $variables['element']['#children'];
+  }
+}
+
+/**
  * #pre_render callback to transform children of an element into #rows suitable for theme_table().
  *
  * This function converts sub-elements of an element of #type 'table' to be
